diff options
Diffstat (limited to 'sound/soc/samsung/s3c24xx_uda134x.c')
-rw-r--r-- | sound/soc/samsung/s3c24xx_uda134x.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/sound/soc/samsung/s3c24xx_uda134x.c b/sound/soc/samsung/s3c24xx_uda134x.c index 548c6ac6e7b..d731042e51b 100644 --- a/sound/soc/samsung/s3c24xx_uda134x.c +++ b/sound/soc/samsung/s3c24xx_uda134x.c | |||
@@ -229,6 +229,7 @@ static struct snd_soc_dai_link s3c24xx_uda134x_dai_link = { | |||
229 | 229 | ||
230 | static struct snd_soc_card snd_soc_s3c24xx_uda134x = { | 230 | static struct snd_soc_card snd_soc_s3c24xx_uda134x = { |
231 | .name = "S3C24XX_UDA134X", | 231 | .name = "S3C24XX_UDA134X", |
232 | .owner = THIS_MODULE, | ||
232 | .dai_link = &s3c24xx_uda134x_dai_link, | 233 | .dai_link = &s3c24xx_uda134x_dai_link, |
233 | .num_links = 1, | 234 | .num_links = 1, |
234 | }; | 235 | }; |
@@ -343,19 +344,7 @@ static struct platform_driver s3c24xx_uda134x_driver = { | |||
343 | }, | 344 | }, |
344 | }; | 345 | }; |
345 | 346 | ||
346 | static int __init s3c24xx_uda134x_init(void) | 347 | module_platform_driver(s3c24xx_uda134x_driver); |
347 | { | ||
348 | return platform_driver_register(&s3c24xx_uda134x_driver); | ||
349 | } | ||
350 | |||
351 | static void __exit s3c24xx_uda134x_exit(void) | ||
352 | { | ||
353 | platform_driver_unregister(&s3c24xx_uda134x_driver); | ||
354 | } | ||
355 | |||
356 | |||
357 | module_init(s3c24xx_uda134x_init); | ||
358 | module_exit(s3c24xx_uda134x_exit); | ||
359 | 348 | ||
360 | MODULE_AUTHOR("Zoltan Devai, Christian Pellegrin <chripell@evolware.org>"); | 349 | MODULE_AUTHOR("Zoltan Devai, Christian Pellegrin <chripell@evolware.org>"); |
361 | MODULE_DESCRIPTION("S3C24XX_UDA134X ALSA SoC audio driver"); | 350 | MODULE_DESCRIPTION("S3C24XX_UDA134X ALSA SoC audio driver"); |