aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/txx9/txx9aclc-ac97.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/txx9/txx9aclc-ac97.c')
-rw-r--r--sound/soc/txx9/txx9aclc-ac97.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/sound/soc/txx9/txx9aclc-ac97.c b/sound/soc/txx9/txx9aclc-ac97.c
index a4e3f550184..28db4ca997c 100644
--- a/sound/soc/txx9/txx9aclc-ac97.c
+++ b/sound/soc/txx9/txx9aclc-ac97.c
@@ -223,18 +223,7 @@ static struct platform_driver txx9aclc_ac97_driver = {
223 }, 223 },
224}; 224};
225 225
226static int __init txx9aclc_ac97_init(void) 226module_platform_driver(txx9aclc_ac97_driver);
227{
228 return platform_driver_register(&txx9aclc_ac97_driver);
229}
230
231static void __exit txx9aclc_ac97_exit(void)
232{
233 platform_driver_unregister(&txx9aclc_ac97_driver);
234}
235
236module_init(txx9aclc_ac97_init);
237module_exit(txx9aclc_ac97_exit);
238 227
239MODULE_AUTHOR("Atsushi Nemoto <anemo@mba.ocn.ne.jp>"); 228MODULE_AUTHOR("Atsushi Nemoto <anemo@mba.ocn.ne.jp>");
240MODULE_DESCRIPTION("TXx9 ACLC AC97 driver"); 229MODULE_DESCRIPTION("TXx9 ACLC AC97 driver");