aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8903.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/wm8903.c')
-rw-r--r--sound/soc/codecs/wm8903.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8903.c b/sound/soc/codecs/wm8903.c
index 3c83b7973074..5d8fe7e1571e 100644
--- a/sound/soc/codecs/wm8903.c
+++ b/sound/soc/codecs/wm8903.c
@@ -1809,6 +1809,18 @@ struct snd_soc_codec_device soc_codec_dev_wm8903 = {
1809}; 1809};
1810EXPORT_SYMBOL_GPL(soc_codec_dev_wm8903); 1810EXPORT_SYMBOL_GPL(soc_codec_dev_wm8903);
1811 1811
1812static int __devinit wm8903_modinit(void)
1813{
1814 return snd_soc_register_dai(&wm8903_dai);
1815}
1816module_init(wm8903_modinit);
1817
1818static void __exit wm8903_exit(void)
1819{
1820 snd_soc_unregister_dai(&wm8903_dai);
1821}
1822module_exit(wm8903_exit);
1823
1812MODULE_DESCRIPTION("ASoC WM8903 driver"); 1824MODULE_DESCRIPTION("ASoC WM8903 driver");
1813MODULE_AUTHOR("Mark Brown <broonie@opensource.wolfsonmicro.cm>"); 1825MODULE_AUTHOR("Mark Brown <broonie@opensource.wolfsonmicro.cm>");
1814MODULE_LICENSE("GPL"); 1826MODULE_LICENSE("GPL");