From e0863545e6239ac338fa7fbe9647a5748a60b436 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 16 Jun 2008 14:51:53 +0000 Subject: Fix driver structure declaration in the probe function --- hcid/device.c | 3 +-- 1 file changed, 1 insertion(+), 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++) { -- cgit