summaryrefslogtreecommitdiff
path: root/profiles/audio/avrcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/audio/avrcp.c')
-rw-r--r--profiles/audio/avrcp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c
index 7b6001241..994550aee 100644
--- a/profiles/audio/avrcp.c
+++ b/profiles/audio/avrcp.c
@@ -3210,7 +3210,7 @@ static struct avrcp_player *create_ct_player(struct avrcp *session,
player = g_new0(struct avrcp_player, 1);
player->sessions = g_slist_prepend(player->sessions, session);
- path = device_get_path(session->dev);
+ path = btd_device_get_path(session->dev);
mp = media_player_controller_create(path, id);
if (mp == NULL)
@@ -4234,7 +4234,7 @@ int avrcp_set_volume(struct btd_device *dev, uint8_t volume, bool notify)
static int avrcp_connect(struct btd_service *service)
{
struct btd_device *dev = btd_service_get_device(service);
- const char *path = device_get_path(dev);
+ const char *path = btd_device_get_path(dev);
DBG("path %s", path);
@@ -4244,7 +4244,7 @@ static int avrcp_connect(struct btd_service *service)
static int avrcp_disconnect(struct btd_service *service)
{
struct btd_device *dev = btd_service_get_device(service);
- const char *path = device_get_path(dev);
+ const char *path = btd_device_get_path(dev);
DBG("path %s", path);
@@ -4255,7 +4255,7 @@ static int avrcp_target_probe(struct btd_service *service)
{
struct btd_device *dev = btd_service_get_device(service);
- DBG("path %s", device_get_path(dev));
+ DBG("path %s", btd_device_get_path(dev));
return control_init_target(service);
}
@@ -4338,7 +4338,7 @@ static int avrcp_controller_probe(struct btd_service *service)
{
struct btd_device *dev = btd_service_get_device(service);
- DBG("path %s", device_get_path(dev));
+ DBG("path %s", btd_device_get_path(dev));
return control_init_remote(service);
}