diff options
author | Luiz Augusto von Dentz <luiz.dentz@indt.org.br> | 2008-08-13 15:04:56 -0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@indt.org.br> | 2008-08-13 15:06:51 -0300 |
commit | e780c7bd8ec0527723db3c19f28365063bbe7d93 (patch) | |
tree | 2ea7efc4cb50f14e0defedc3cff885a8328cf81e /src/driver.h | |
parent | 59969fedf496c710ba9b1bfcd8de4d6899275172 (diff) |
Fix device driver callbacks to not take driver pointer.
Diffstat (limited to 'src/driver.h')
-rw-r--r-- | src/driver.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/driver.h b/src/driver.h index a69ebab1..e27c7de5 100644 --- a/src/driver.h +++ b/src/driver.h @@ -29,10 +29,8 @@ struct btd_device; struct btd_device_driver { const char *name; const char **uuids; - int (*probe) (struct btd_device_driver *driver, - struct btd_device *device, GSList *records); - void (*remove) (struct btd_device_driver *driver, - struct btd_device *device); + int (*probe) (struct btd_device *device, GSList *records); + void (*remove) (struct btd_device *device); }; int btd_register_device_driver(struct btd_device_driver *driver); |