diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-13 10:00:22 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-13 10:00:22 -0500 |
commit | 4de3a8e101150feaefa1139611a50ff37467f33e (patch) | |
tree | daada742542518b02d7db7c5d32e715eaa5f166d /sound/soc/pxa/mioa701_wm9713.c | |
parent | 294064f58953f9964e5945424b09c51800330a83 (diff) | |
parent | 099469502f62fbe0d7e4f0b83a2f22538367f734 (diff) |
Merge branch 'master' into fixes
Diffstat (limited to 'sound/soc/pxa/mioa701_wm9713.c')
-rw-r--r-- | sound/soc/pxa/mioa701_wm9713.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/sound/soc/pxa/mioa701_wm9713.c b/sound/soc/pxa/mioa701_wm9713.c index 0b8d1ee738a..9c585af59b5 100644 --- a/sound/soc/pxa/mioa701_wm9713.c +++ b/sound/soc/pxa/mioa701_wm9713.c | |||
@@ -181,6 +181,7 @@ static struct snd_soc_dai_link mioa701_dai[] = { | |||
181 | 181 | ||
182 | static struct snd_soc_card mioa701 = { | 182 | static struct snd_soc_card mioa701 = { |
183 | .name = "MioA701", | 183 | .name = "MioA701", |
184 | .owner = THIS_MODULE, | ||
184 | .dai_link = mioa701_dai, | 185 | .dai_link = mioa701_dai, |
185 | .num_links = ARRAY_SIZE(mioa701_dai), | 186 | .num_links = ARRAY_SIZE(mioa701_dai), |
186 | }; | 187 | }; |
@@ -227,18 +228,7 @@ static struct platform_driver mioa701_wm9713_driver = { | |||
227 | }, | 228 | }, |
228 | }; | 229 | }; |
229 | 230 | ||
230 | static int __init mioa701_asoc_init(void) | 231 | module_platform_driver(mioa701_wm9713_driver); |
231 | { | ||
232 | return platform_driver_register(&mioa701_wm9713_driver); | ||
233 | } | ||
234 | |||
235 | static void __exit mioa701_asoc_exit(void) | ||
236 | { | ||
237 | platform_driver_unregister(&mioa701_wm9713_driver); | ||
238 | } | ||
239 | |||
240 | module_init(mioa701_asoc_init); | ||
241 | module_exit(mioa701_asoc_exit); | ||
242 | 232 | ||
243 | /* Module information */ | 233 | /* Module information */ |
244 | MODULE_AUTHOR("Robert Jarzmik (rjarzmik@free.fr)"); | 234 | MODULE_AUTHOR("Robert Jarzmik (rjarzmik@free.fr)"); |