summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/mips/au1x00.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/sound/mips/au1x00.c b/sound/mips/au1x00.c
index a7cc49e9606..d10ef767526 100644
--- a/sound/mips/au1x00.c
+++ b/sound/mips/au1x00.c
@@ -725,15 +725,4 @@ struct platform_driver au1000_ac97c_driver = {
.remove = au1000_ac97_remove,
};
-static int __init au1000_ac97_load(void)
-{
- return platform_driver_register(&au1000_ac97c_driver);
-}
-
-static void __exit au1000_ac97_unload(void)
-{
- platform_driver_unregister(&au1000_ac97c_driver);
-}
-
-module_init(au1000_ac97_load);
-module_exit(au1000_ac97_unload);
+module_platform_driver(au1000_ac97c_driver);