aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/tlv320aic3x.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/tlv320aic3x.c')
-rw-r--r--sound/soc/codecs/tlv320aic3x.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/sound/soc/codecs/tlv320aic3x.c b/sound/soc/codecs/tlv320aic3x.c
index 6a058298a3c3..ccd575961869 100644
--- a/sound/soc/codecs/tlv320aic3x.c
+++ b/sound/soc/codecs/tlv320aic3x.c
@@ -1411,6 +1411,18 @@ struct snd_soc_codec_device soc_codec_dev_aic3x = {
1411}; 1411};
1412EXPORT_SYMBOL_GPL(soc_codec_dev_aic3x); 1412EXPORT_SYMBOL_GPL(soc_codec_dev_aic3x);
1413 1413
1414static int __devinit aic3x_modinit(void)
1415{
1416 return snd_soc_register_dai(&aic3x_dai);
1417}
1418module_init(aic3x_modinit);
1419
1420static void __exit aic3x_exit(void)
1421{
1422 snd_soc_unregister_dai(&aic3x_dai);
1423}
1424module_exit(aic3x_exit);
1425
1414MODULE_DESCRIPTION("ASoC TLV320AIC3X codec driver"); 1426MODULE_DESCRIPTION("ASoC TLV320AIC3X codec driver");
1415MODULE_AUTHOR("Vladimir Barinov"); 1427MODULE_AUTHOR("Vladimir Barinov");
1416MODULE_LICENSE("GPL"); 1428MODULE_LICENSE("GPL");