diff options
Diffstat (limited to 'sound/soc/au1x/psc-i2s.c')
-rw-r--r-- | sound/soc/au1x/psc-i2s.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sound/soc/au1x/psc-i2s.c b/sound/soc/au1x/psc-i2s.c index f7714d50bdaf..5c1dc8a141ab 100644 --- a/sound/soc/au1x/psc-i2s.c +++ b/sound/soc/au1x/psc-i2s.c | |||
@@ -435,18 +435,7 @@ static struct platform_driver au1xpsc_i2s_driver = { | |||
435 | .remove = __devexit_p(au1xpsc_i2s_drvremove), | 435 | .remove = __devexit_p(au1xpsc_i2s_drvremove), |
436 | }; | 436 | }; |
437 | 437 | ||
438 | static int __init au1xpsc_i2s_load(void) | 438 | module_platform_driver(au1xpsc_i2s_driver); |
439 | { | ||
440 | return platform_driver_register(&au1xpsc_i2s_driver); | ||
441 | } | ||
442 | |||
443 | static void __exit au1xpsc_i2s_unload(void) | ||
444 | { | ||
445 | platform_driver_unregister(&au1xpsc_i2s_driver); | ||
446 | } | ||
447 | |||
448 | module_init(au1xpsc_i2s_load); | ||
449 | module_exit(au1xpsc_i2s_unload); | ||
450 | 439 | ||
451 | MODULE_LICENSE("GPL"); | 440 | MODULE_LICENSE("GPL"); |
452 | MODULE_DESCRIPTION("Au12x0/Au1550 PSC I2S ALSA ASoC audio driver"); | 441 | MODULE_DESCRIPTION("Au12x0/Au1550 PSC I2S ALSA ASoC audio driver"); |