summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-23 05:05:38 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-23 05:05:38 +0100
commitba4bcf3dfe11e739f4968e16c72c7a27a3a74cd9 (patch)
tree7a2512da456f00e5cc530fdf12e58d83ba52d7ec
parentbe2ffca847c7537f01b90c7933a2b288306b1f0b (diff)
Need to declare plugin entry functions first
-rw-r--r--audio/ctl_bluetooth.c2
-rw-r--r--audio/pcm_bluetooth.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/audio/ctl_bluetooth.c b/audio/ctl_bluetooth.c
index 9d09308d..11a245d1 100644
--- a/audio/ctl_bluetooth.c
+++ b/audio/ctl_bluetooth.c
@@ -329,6 +329,8 @@ static int bluetooth_init(struct bluetooth_data *data)
return 0;
}
+SND_CTL_PLUGIN_DEFINE_FUNC(bluetooth);
+
SND_CTL_PLUGIN_DEFINE_FUNC(bluetooth)
{
struct bluetooth_data *data;
diff --git a/audio/pcm_bluetooth.c b/audio/pcm_bluetooth.c
index c60b752f..3014b66a 100644
--- a/audio/pcm_bluetooth.c
+++ b/audio/pcm_bluetooth.c
@@ -1668,6 +1668,8 @@ failed:
return err;
}
+SND_PCM_PLUGIN_DEFINE_FUNC(bluetooth);
+
SND_PCM_PLUGIN_DEFINE_FUNC(bluetooth)
{
struct bluetooth_data *data;