summaryrefslogtreecommitdiffstats
path: root/audio/avdtp.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-05-29 08:05:16 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-05-29 08:05:16 +0000
commitcaf9fdd6d0183afc3b21d1cd82eb637773c131de (patch)
treecf4034e4ffe2b65562d04663e0c88419ec1e92da /audio/avdtp.c
parentba4e3484118a69f49772b7e8dba9d8a02f8dff61 (diff)
Replace struct device with struct audio_device
Diffstat (limited to 'audio/avdtp.c')
-rw-r--r--audio/avdtp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/avdtp.c b/audio/avdtp.c
index 38fc19c6..b0cd98ba 100644
--- a/audio/avdtp.c
+++ b/audio/avdtp.c
@@ -735,7 +735,7 @@ static void release_stream(struct avdtp_stream *stream, struct avdtp *session)
static void connection_lost(struct avdtp *session, int err)
{
- struct device *dev;
+ struct audio_device *dev;
dev = manager_find_device(&session->dst, AUDIO_CONTROL_INTERFACE,
FALSE);
@@ -1550,7 +1550,7 @@ static void l2cap_connect_cb(GIOChannel *chan, int err, const bdaddr_t *src,
}
if (session->state == AVDTP_SESSION_STATE_CONNECTING) {
- struct device *dev;
+ struct audio_device *dev;
session->mtu = l2o.imtu;
session->buf = g_malloc0(session->mtu);
@@ -2684,7 +2684,7 @@ int avdtp_unregister_sep(struct avdtp_local_sep *sep)
static void auth_cb(DBusError *derr, void *user_data)
{
struct avdtp *session = user_data;
- struct device *dev;
+ struct audio_device *dev;
GIOChannel *io;
if (derr && dbus_error_is_set(derr)) {