diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-06-16 14:51:53 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-06-16 14:51:53 +0000 |
commit | e0863545e6239ac338fa7fbe9647a5748a60b436 (patch) | |
tree | e73cfcb6aa5f4599c2b56af3a9c543cd3e7483e2 | |
parent | de32e4ca4c787266f194f3ffdab74e428fe3649a (diff) |
Fix driver structure declaration in the probe function
-rw-r--r-- | hcid/device.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hcid/device.c b/hcid/device.c index 5c7584f2..db21096d 100644 --- a/hcid/device.c +++ b/hcid/device.c @@ -1206,13 +1206,12 @@ void device_probe_drivers(struct device *device) { GSList *list; const char **uuid; - struct btd_device_driver *driver; int err; debug("Probe drivers for %s", device->path); for (list = drivers; list; list = list->next) { - driver = (struct btd_device_driver *) list->data; + struct btd_device_driver *driver = list->data; gboolean do_probe = FALSE; for (uuid = driver->uuids; *uuid; uuid++) { |