diff options
-rw-r--r-- | sound/soc/au1x/psc-ac97.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/sound/soc/au1x/psc-ac97.c b/sound/soc/au1x/psc-ac97.c index f5a392169338..a97ba1367b69 100644 --- a/sound/soc/au1x/psc-ac97.c +++ b/sound/soc/au1x/psc-ac97.c | |||
@@ -497,19 +497,7 @@ static struct platform_driver au1xpsc_ac97_driver = { | |||
497 | .remove = au1xpsc_ac97_drvremove, | 497 | .remove = au1xpsc_ac97_drvremove, |
498 | }; | 498 | }; |
499 | 499 | ||
500 | static int __init au1xpsc_ac97_load(void) | 500 | module_platform_driver(au1xpsc_ac97_driver); |
501 | { | ||
502 | au1xpsc_ac97_workdata = NULL; | ||
503 | return platform_driver_register(&au1xpsc_ac97_driver); | ||
504 | } | ||
505 | |||
506 | static void __exit au1xpsc_ac97_unload(void) | ||
507 | { | ||
508 | platform_driver_unregister(&au1xpsc_ac97_driver); | ||
509 | } | ||
510 | |||
511 | module_init(au1xpsc_ac97_load); | ||
512 | module_exit(au1xpsc_ac97_unload); | ||
513 | 501 | ||
514 | MODULE_LICENSE("GPL"); | 502 | MODULE_LICENSE("GPL"); |
515 | MODULE_DESCRIPTION("Au12x0/Au1550 PSC AC97 ALSA ASoC audio driver"); | 503 | MODULE_DESCRIPTION("Au12x0/Au1550 PSC AC97 ALSA ASoC audio driver"); |