diff options
Diffstat (limited to 'sound/soc/au1x/i2sc.c')
-rw-r--r-- | sound/soc/au1x/i2sc.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sound/soc/au1x/i2sc.c b/sound/soc/au1x/i2sc.c index 6bcf48f5884c..cb53ad87d0a9 100644 --- a/sound/soc/au1x/i2sc.c +++ b/sound/soc/au1x/i2sc.c | |||
@@ -331,18 +331,7 @@ static struct platform_driver au1xi2s_driver = { | |||
331 | .remove = __devexit_p(au1xi2s_drvremove), | 331 | .remove = __devexit_p(au1xi2s_drvremove), |
332 | }; | 332 | }; |
333 | 333 | ||
334 | static int __init au1xi2s_load(void) | 334 | module_platform_driver(au1xi2s_driver); |
335 | { | ||
336 | return platform_driver_register(&au1xi2s_driver); | ||
337 | } | ||
338 | |||
339 | static void __exit au1xi2s_unload(void) | ||
340 | { | ||
341 | platform_driver_unregister(&au1xi2s_driver); | ||
342 | } | ||
343 | |||
344 | module_init(au1xi2s_load); | ||
345 | module_exit(au1xi2s_unload); | ||
346 | 335 | ||
347 | MODULE_LICENSE("GPL"); | 336 | MODULE_LICENSE("GPL"); |
348 | MODULE_DESCRIPTION("Au1000/1500/1100 I2S ASoC driver"); | 337 | MODULE_DESCRIPTION("Au1000/1500/1100 I2S ASoC driver"); |