diff options
Diffstat (limited to 'sound/soc/codecs/bluetooth.c')
-rw-r--r-- | sound/soc/codecs/bluetooth.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sound/soc/codecs/bluetooth.c b/sound/soc/codecs/bluetooth.c index ee6c49f67280..2d4c13b4f0af 100644 --- a/sound/soc/codecs/bluetooth.c +++ b/sound/soc/codecs/bluetooth.c @@ -142,6 +142,20 @@ struct snd_soc_codec_device soc_codec_dev_bt = { }; EXPORT_SYMBOL_GPL(soc_codec_dev_bt); +static int __init bluetooth_modinit(void) +{ + return snd_soc_register_dai(&bt_dai); +} + +module_init(bluetooth_modinit); + +static void __exit bluetooth_exit(void) +{ + snd_soc_unregister_dai(&bt_dai); +} + +module_exit(bluetooth_exit); + MODULE_DESCRIPTION("ASoC bluetooth codec driver"); MODULE_AUTHOR("Freescale Semiconductor, Inc."); MODULE_LICENSE("GPL"); |