aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung/s3c24xx_simtec_hermes.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/samsung/s3c24xx_simtec_hermes.c')
-rw-r--r--sound/soc/samsung/s3c24xx_simtec_hermes.c17
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 */
90static struct snd_soc_card snd_soc_machine_simtec_aic33 = { 90static 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
117MODULE_ALIAS("platform:s3c24xx-simtec-hermes-snd"); 118module_platform_driver(simtec_audio_hermes_platdrv);
118
119static int __init simtec_hermes_modinit(void)
120{
121 return platform_driver_register(&simtec_audio_hermes_platdrv);
122}
123
124static void __exit simtec_hermes_modexit(void)
125{
126 platform_driver_unregister(&simtec_audio_hermes_platdrv);
127}
128
129module_init(simtec_hermes_modinit);
130module_exit(simtec_hermes_modexit);
131 119
120MODULE_ALIAS("platform:s3c24xx-simtec-hermes-snd");
132MODULE_AUTHOR("Ben Dooks <ben@simtec.co.uk>"); 121MODULE_AUTHOR("Ben Dooks <ben@simtec.co.uk>");
133MODULE_DESCRIPTION("ALSA SoC Simtec Audio support"); 122MODULE_DESCRIPTION("ALSA SoC Simtec Audio support");
134MODULE_LICENSE("GPL"); 123MODULE_LICENSE("GPL");