aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wl1273.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/wl1273.c')
-rw-r--r--sound/soc/codecs/wl1273.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sound/soc/codecs/wl1273.c b/sound/soc/codecs/wl1273.c
index 9531c35dccad..44aacf927ba9 100644
--- a/sound/soc/codecs/wl1273.c
+++ b/sound/soc/codecs/wl1273.c
@@ -510,17 +510,7 @@ static struct platform_driver wl1273_platform_driver = {
510 .remove = __devexit_p(wl1273_platform_remove), 510 .remove = __devexit_p(wl1273_platform_remove),
511}; 511};
512 512
513static int __init wl1273_init(void) 513module_platform_driver(wl1273_platform_driver);
514{
515 return platform_driver_register(&wl1273_platform_driver);
516}
517module_init(wl1273_init);
518
519static void __exit wl1273_exit(void)
520{
521 platform_driver_unregister(&wl1273_platform_driver);
522}
523module_exit(wl1273_exit);
524 514
525MODULE_AUTHOR("Matti Aaltonen <matti.j.aaltonen@nokia.com>"); 515MODULE_AUTHOR("Matti Aaltonen <matti.j.aaltonen@nokia.com>");
526MODULE_DESCRIPTION("ASoC WL1273 codec driver"); 516MODULE_DESCRIPTION("ASoC WL1273 codec driver");