aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/mxs/mxs-pcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/mxs/mxs-pcm.c')
-rw-r--r--sound/soc/mxs/mxs-pcm.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sound/soc/mxs/mxs-pcm.c b/sound/soc/mxs/mxs-pcm.c
index f39d7dd9fbc..0e12f4e0a76 100644
--- a/sound/soc/mxs/mxs-pcm.c
+++ b/sound/soc/mxs/mxs-pcm.c
@@ -346,17 +346,7 @@ static struct platform_driver mxs_pcm_driver = {
346 .remove = __devexit_p(mxs_soc_platform_remove), 346 .remove = __devexit_p(mxs_soc_platform_remove),
347}; 347};
348 348
349static int __init snd_mxs_pcm_init(void) 349module_platform_driver(mxs_pcm_driver);
350{
351 return platform_driver_register(&mxs_pcm_driver);
352}
353module_init(snd_mxs_pcm_init);
354
355static void __exit snd_mxs_pcm_exit(void)
356{
357 platform_driver_unregister(&mxs_pcm_driver);
358}
359module_exit(snd_mxs_pcm_exit);
360 350
361MODULE_LICENSE("GPL"); 351MODULE_LICENSE("GPL");
362MODULE_ALIAS("platform:mxs-pcm-audio"); 352MODULE_ALIAS("platform:mxs-pcm-audio");