diff options
Diffstat (limited to 'sound/soc/au1x/db1200.c')
-rw-r--r-- | sound/soc/au1x/db1200.c | 13 |
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 | ||
136 | static int __init db1200_audio_load(void) | 136 | module_platform_driver(db1200_audio_driver); |
137 | { | ||
138 | return platform_driver_register(&db1200_audio_driver); | ||
139 | } | ||
140 | |||
141 | static void __exit db1200_audio_unload(void) | ||
142 | { | ||
143 | platform_driver_unregister(&db1200_audio_driver); | ||
144 | } | ||
145 | |||
146 | module_init(db1200_audio_load); | ||
147 | module_exit(db1200_audio_unload); | ||
148 | 137 | ||
149 | MODULE_LICENSE("GPL"); | 138 | MODULE_LICENSE("GPL"); |
150 | MODULE_DESCRIPTION("DB1200 ASoC audio support"); | 139 | MODULE_DESCRIPTION("DB1200 ASoC audio support"); |