aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/au1x/db1200.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/au1x/db1200.c')
-rw-r--r--sound/soc/au1x/db1200.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/sound/soc/au1x/db1200.c b/sound/soc/au1x/db1200.c
index 289312c14b9..80733331733 100644
--- a/sound/soc/au1x/db1200.c
+++ b/sound/soc/au1x/db1200.c
@@ -133,18 +133,7 @@ static struct platform_driver db1200_audio_driver = {
133 .remove = __devexit_p(db1200_audio_remove), 133 .remove = __devexit_p(db1200_audio_remove),
134}; 134};
135 135
136static int __init db1200_audio_load(void) 136module_platform_driver(db1200_audio_driver);
137{
138 return platform_driver_register(&db1200_audio_driver);
139}
140
141static void __exit db1200_audio_unload(void)
142{
143 platform_driver_unregister(&db1200_audio_driver);
144}
145
146module_init(db1200_audio_load);
147module_exit(db1200_audio_unload);
148 137
149MODULE_LICENSE("GPL"); 138MODULE_LICENSE("GPL");
150MODULE_DESCRIPTION("DB1200 ASoC audio support"); 139MODULE_DESCRIPTION("DB1200 ASoC audio support");