diff options
Diffstat (limited to 'sound/soc/nuc900/nuc900-pcm.c')
-rw-r--r-- | sound/soc/nuc900/nuc900-pcm.c | 12 |
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 | ||
361 | static int __init nuc900_pcm_init(void) | 361 | module_platform_driver(nuc900_pcm_driver); |
362 | { | ||
363 | return platform_driver_register(&nuc900_pcm_driver); | ||
364 | } | ||
365 | module_init(nuc900_pcm_init); | ||
366 | |||
367 | static void __exit nuc900_pcm_exit(void) | ||
368 | { | ||
369 | platform_driver_unregister(&nuc900_pcm_driver); | ||
370 | } | ||
371 | module_exit(nuc900_pcm_exit); | ||
372 | 362 | ||
373 | MODULE_AUTHOR("Wan ZongShun, <mcuos.com@gmail.com>"); | 363 | MODULE_AUTHOR("Wan ZongShun, <mcuos.com@gmail.com>"); |
374 | MODULE_DESCRIPTION("nuc900 Audio DMA module"); | 364 | MODULE_DESCRIPTION("nuc900 Audio DMA module"); |