From e780c7bd8ec0527723db3c19f28365063bbe7d93 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 13 Aug 2008 15:04:56 -0300 Subject: Fix device driver callbacks to not take driver pointer. --- src/driver.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/driver.h') 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); -- cgit