summaryrefslogtreecommitdiffstats
path: root/audio/manager.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-08-13 15:04:56 -0300
committerLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-08-13 15:06:51 -0300
commite780c7bd8ec0527723db3c19f28365063bbe7d93 (patch)
tree2ea7efc4cb50f14e0defedc3cff885a8328cf81e /audio/manager.c
parent59969fedf496c710ba9b1bfcd8de4d6899275172 (diff)
Fix device driver callbacks to not take driver pointer.
Diffstat (limited to 'audio/manager.c')
-rw-r--r--audio/manager.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/audio/manager.c b/audio/manager.c
index 8278ee25..6d17a5fd 100644
--- a/audio/manager.c
+++ b/audio/manager.c
@@ -672,8 +672,7 @@ static int gateway_server_init(struct audio_adapter *adapter)
return 0;
}
-static int audio_probe(struct btd_device_driver *driver,
- struct btd_device *device, GSList *records)
+static int audio_probe(struct btd_device *device, GSList *records)
{
struct adapter *adapter = device_get_adapter(device);
const gchar *path = device_get_path(device);
@@ -700,8 +699,7 @@ static int audio_probe(struct btd_device_driver *driver,
return 0;
}
-static void audio_remove(struct btd_device_driver *driver,
- struct btd_device *device)
+static void audio_remove(struct btd_device *device)
{
struct audio_device *dev;
const char *destination = device_get_address(device);