diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-06-08 22:57:11 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-06-08 22:57:11 +0000 |
commit | 5243ac4fd278b0176ece84cbcec537a92a9c7290 (patch) | |
tree | 912b65f15a18410d84563ef95f0595d5b3504121 /audio/main.c | |
parent | f22b20c3d40bd7571944af6a4946f756dc39f812 (diff) |
Update probe/remove callback and implement serial API
Diffstat (limited to 'audio/main.c')
-rw-r--r-- | audio/main.c | 16 |
1 files changed, 8 insertions, 8 deletions
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 = { |