From 5243ac4fd278b0176ece84cbcec537a92a9c7290 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 8 Jun 2008 22:57:11 +0000 Subject: Update probe/remove callback and implement serial API --- audio/main.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'audio') diff --git a/audio/main.c b/audio/main.c index 9b780aa0..86efce27 100644 --- a/audio/main.c +++ b/audio/main.c @@ -42,16 +42,16 @@ static DBusConnection *conn; -static int headset_probe(const char *path) +static int headset_probe(struct btd_device *device) { - DBG("path %s", path); + DBG("path %s", device->path); return 0; } -static void headset_remove(const char *path) +static void headset_remove(struct btd_device *device) { - DBG("path %s", path); + DBG("path %s", device->path); } static struct btd_device_driver headset_driver = { @@ -61,16 +61,16 @@ static struct btd_device_driver headset_driver = { .remove = headset_remove, }; -static int a2dp_probe(const char *path) +static int a2dp_probe(struct btd_device *device) { - DBG("path %s", path); + DBG("path %s", device->path); return 0; } -static void a2dp_remove(const char *path) +static void a2dp_remove(struct btd_device *device) { - DBG("path %s", path); + DBG("path %s", device->path); } static struct btd_device_driver a2dp_driver = { -- cgit