aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm9712.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/wm9712.c')
-rw-r--r--sound/soc/codecs/wm9712.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sound/soc/codecs/wm9712.c b/sound/soc/codecs/wm9712.c
index fd1812704af8..4ce73f59df20 100644
--- a/sound/soc/codecs/wm9712.c
+++ b/sound/soc/codecs/wm9712.c
@@ -694,17 +694,7 @@ static struct platform_driver wm9712_codec_driver = {
694 .remove = __devexit_p(wm9712_remove), 694 .remove = __devexit_p(wm9712_remove),
695}; 695};
696 696
697static int __init wm9712_init(void) 697module_platform_driver(wm9712_codec_driver);
698{
699 return platform_driver_register(&wm9712_codec_driver);
700}
701module_init(wm9712_init);
702
703static void __exit wm9712_exit(void)
704{
705 platform_driver_unregister(&wm9712_codec_driver);
706}
707module_exit(wm9712_exit);
708 698
709MODULE_DESCRIPTION("ASoC WM9711/WM9712 driver"); 699MODULE_DESCRIPTION("ASoC WM9711/WM9712 driver");
710MODULE_AUTHOR("Liam Girdwood"); 700MODULE_AUTHOR("Liam Girdwood");