aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/dfbmcs320.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/dfbmcs320.c')
-rw-r--r--sound/soc/codecs/dfbmcs320.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sound/soc/codecs/dfbmcs320.c b/sound/soc/codecs/dfbmcs320.c
index 704bbde65737..bfe46aa90362 100644
--- a/sound/soc/codecs/dfbmcs320.c
+++ b/sound/soc/codecs/dfbmcs320.c
@@ -55,17 +55,7 @@ static struct platform_driver dfmcs320_driver = {
55 .remove = __devexit_p(dfbmcs320_remove), 55 .remove = __devexit_p(dfbmcs320_remove),
56}; 56};
57 57
58static int __init dfbmcs320_init(void) 58module_platform_driver(dfmcs320_driver);
59{
60 return platform_driver_register(&dfmcs320_driver);
61}
62module_init(dfbmcs320_init);
63
64static void __exit dfbmcs320_exit(void)
65{
66 platform_driver_unregister(&dfmcs320_driver);
67}
68module_exit(dfbmcs320_exit);
69 59
70MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>"); 60MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>");
71MODULE_DESCRIPTION("ASoC DFBM-CS320 bluethooth module driver"); 61MODULE_DESCRIPTION("ASoC DFBM-CS320 bluethooth module driver");