From b76fbc7d29f28a95a9ea25aae1f6f2d9c10adb19 Mon Sep 17 00:00:00 2001 From: Alok Barsode Date: Mon, 21 Jul 2008 19:46:42 +0530 Subject: Adding {driver, priv} list to btd_device and adding driver as parameter to probe and remove. Signed-off-by: Alok Barsode --- serial/main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'serial/main.c') diff --git a/serial/main.c b/serial/main.c index 7a8d01f3..1d7cf228 100644 --- a/serial/main.c +++ b/serial/main.c @@ -97,7 +97,8 @@ static GDBusMethodTable serial_methods[] = { static DBusConnection *conn; -static int serial_probe(struct btd_device *device, GSList *records) +static int serial_probe(struct btd_device_driver *driver, + struct btd_device *device, GSList *records) { const gchar *path = device_get_path(device); DBG("path %s", path); @@ -110,7 +111,8 @@ static int serial_probe(struct btd_device *device, GSList *records) return 0; } -static void serial_remove(struct btd_device *device) +static void serial_remove(struct btd_device_driver *driver, + struct btd_device *device) { const gchar *path = device_get_path(device); DBG("path %s", path); -- cgit