diff options
Diffstat (limited to 'sound/soc/txx9/txx9aclc.c')
-rw-r--r-- | sound/soc/txx9/txx9aclc.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sound/soc/txx9/txx9aclc.c b/sound/soc/txx9/txx9aclc.c index 3de99af8cb8..93931def0dc 100644 --- a/sound/soc/txx9/txx9aclc.c +++ b/sound/soc/txx9/txx9aclc.c | |||
@@ -438,17 +438,7 @@ static struct platform_driver txx9aclc_pcm_driver = { | |||
438 | .remove = __devexit_p(txx9aclc_soc_platform_remove), | 438 | .remove = __devexit_p(txx9aclc_soc_platform_remove), |
439 | }; | 439 | }; |
440 | 440 | ||
441 | static int __init snd_txx9aclc_pcm_init(void) | 441 | module_platform_driver(txx9aclc_pcm_driver); |
442 | { | ||
443 | return platform_driver_register(&txx9aclc_pcm_driver); | ||
444 | } | ||
445 | module_init(snd_txx9aclc_pcm_init); | ||
446 | |||
447 | static void __exit snd_txx9aclc_pcm_exit(void) | ||
448 | { | ||
449 | platform_driver_unregister(&txx9aclc_pcm_driver); | ||
450 | } | ||
451 | module_exit(snd_txx9aclc_pcm_exit); | ||
452 | 442 | ||
453 | MODULE_AUTHOR("Atsushi Nemoto <anemo@mba.ocn.ne.jp>"); | 443 | MODULE_AUTHOR("Atsushi Nemoto <anemo@mba.ocn.ne.jp>"); |
454 | MODULE_DESCRIPTION("TXx9 ACLC Audio DMA driver"); | 444 | MODULE_DESCRIPTION("TXx9 ACLC Audio DMA driver"); |