diff options
Diffstat (limited to 'sound/soc/blackfin/bf5xx-ac97.c')
-rw-r--r-- | sound/soc/blackfin/bf5xx-ac97.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sound/soc/blackfin/bf5xx-ac97.c b/sound/soc/blackfin/bf5xx-ac97.c index 6d2162590889..f4e9dc4e262e 100644 --- a/sound/soc/blackfin/bf5xx-ac97.c +++ b/sound/soc/blackfin/bf5xx-ac97.c | |||
@@ -375,18 +375,7 @@ static struct platform_driver asoc_bfin_ac97_driver = { | |||
375 | .remove = __devexit_p(asoc_bfin_ac97_remove), | 375 | .remove = __devexit_p(asoc_bfin_ac97_remove), |
376 | }; | 376 | }; |
377 | 377 | ||
378 | static int __init bfin_ac97_init(void) | 378 | module_platform_driver(asoc_bfin_ac97_driver); |
379 | { | ||
380 | return platform_driver_register(&asoc_bfin_ac97_driver); | ||
381 | } | ||
382 | module_init(bfin_ac97_init); | ||
383 | |||
384 | static void __exit bfin_ac97_exit(void) | ||
385 | { | ||
386 | platform_driver_unregister(&asoc_bfin_ac97_driver); | ||
387 | } | ||
388 | module_exit(bfin_ac97_exit); | ||
389 | |||
390 | 379 | ||
391 | MODULE_AUTHOR("Roy Huang"); | 380 | MODULE_AUTHOR("Roy Huang"); |
392 | MODULE_DESCRIPTION("AC97 driver for ADI Blackfin"); | 381 | MODULE_DESCRIPTION("AC97 driver for ADI Blackfin"); |