diff options
Diffstat (limited to 'sound/soc/samsung/s3c24xx_simtec_hermes.c')
-rw-r--r-- | sound/soc/samsung/s3c24xx_simtec_hermes.c | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/sound/soc/samsung/s3c24xx_simtec_hermes.c b/sound/soc/samsung/s3c24xx_simtec_hermes.c index d125e79baf7..7ace6a87f41 100644 --- a/sound/soc/samsung/s3c24xx_simtec_hermes.c +++ b/sound/soc/samsung/s3c24xx_simtec_hermes.c | |||
@@ -89,6 +89,7 @@ static struct snd_soc_dai_link simtec_dai_aic33 = { | |||
89 | /* simtec audio machine driver */ | 89 | /* simtec audio machine driver */ |
90 | static struct snd_soc_card snd_soc_machine_simtec_aic33 = { | 90 | static struct snd_soc_card snd_soc_machine_simtec_aic33 = { |
91 | .name = "Simtec-Hermes", | 91 | .name = "Simtec-Hermes", |
92 | .owner = THIS_MODULE, | ||
92 | .dai_link = &simtec_dai_aic33, | 93 | .dai_link = &simtec_dai_aic33, |
93 | .num_links = 1, | 94 | .num_links = 1, |
94 | 95 | ||
@@ -114,21 +115,9 @@ static struct platform_driver simtec_audio_hermes_platdrv = { | |||
114 | .remove = __devexit_p(simtec_audio_remove), | 115 | .remove = __devexit_p(simtec_audio_remove), |
115 | }; | 116 | }; |
116 | 117 | ||
117 | MODULE_ALIAS("platform:s3c24xx-simtec-hermes-snd"); | 118 | module_platform_driver(simtec_audio_hermes_platdrv); |
118 | |||
119 | static int __init simtec_hermes_modinit(void) | ||
120 | { | ||
121 | return platform_driver_register(&simtec_audio_hermes_platdrv); | ||
122 | } | ||
123 | |||
124 | static void __exit simtec_hermes_modexit(void) | ||
125 | { | ||
126 | platform_driver_unregister(&simtec_audio_hermes_platdrv); | ||
127 | } | ||
128 | |||
129 | module_init(simtec_hermes_modinit); | ||
130 | module_exit(simtec_hermes_modexit); | ||
131 | 119 | ||
120 | MODULE_ALIAS("platform:s3c24xx-simtec-hermes-snd"); | ||
132 | MODULE_AUTHOR("Ben Dooks <ben@simtec.co.uk>"); | 121 | MODULE_AUTHOR("Ben Dooks <ben@simtec.co.uk>"); |
133 | MODULE_DESCRIPTION("ALSA SoC Simtec Audio support"); | 122 | MODULE_DESCRIPTION("ALSA SoC Simtec Audio support"); |
134 | MODULE_LICENSE("GPL"); | 123 | MODULE_LICENSE("GPL"); |