aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/nuc900/nuc900-pcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/nuc900/nuc900-pcm.c')
-rw-r--r--sound/soc/nuc900/nuc900-pcm.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sound/soc/nuc900/nuc900-pcm.c b/sound/soc/nuc900/nuc900-pcm.c
index ae8d6806966..37585b47f4e 100644
--- a/sound/soc/nuc900/nuc900-pcm.c
+++ b/sound/soc/nuc900/nuc900-pcm.c
@@ -358,17 +358,7 @@ static struct platform_driver nuc900_pcm_driver = {
358 .remove = __devexit_p(nuc900_soc_platform_remove), 358 .remove = __devexit_p(nuc900_soc_platform_remove),
359}; 359};
360 360
361static int __init nuc900_pcm_init(void) 361module_platform_driver(nuc900_pcm_driver);
362{
363 return platform_driver_register(&nuc900_pcm_driver);
364}
365module_init(nuc900_pcm_init);
366
367static void __exit nuc900_pcm_exit(void)
368{
369 platform_driver_unregister(&nuc900_pcm_driver);
370}
371module_exit(nuc900_pcm_exit);
372 362
373MODULE_AUTHOR("Wan ZongShun, <mcuos.com@gmail.com>"); 363MODULE_AUTHOR("Wan ZongShun, <mcuos.com@gmail.com>");
374MODULE_DESCRIPTION("nuc900 Audio DMA module"); 364MODULE_DESCRIPTION("nuc900 Audio DMA module");