aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/ep93xx/ep93xx-ac97.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/ep93xx/ep93xx-ac97.c')
-rw-r--r--sound/soc/ep93xx/ep93xx-ac97.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/sound/soc/ep93xx/ep93xx-ac97.c b/sound/soc/ep93xx/ep93xx-ac97.c
index 3cd6158d83e1..0678637abd66 100644
--- a/sound/soc/ep93xx/ep93xx-ac97.c
+++ b/sound/soc/ep93xx/ep93xx-ac97.c
@@ -330,7 +330,7 @@ static int ep93xx_ac97_startup(struct snd_pcm_substream *substream,
330 return 0; 330 return 0;
331} 331}
332 332
333static struct snd_soc_dai_ops ep93xx_ac97_dai_ops = { 333static const struct snd_soc_dai_ops ep93xx_ac97_dai_ops = {
334 .startup = ep93xx_ac97_startup, 334 .startup = ep93xx_ac97_startup,
335 .trigger = ep93xx_ac97_trigger, 335 .trigger = ep93xx_ac97_trigger,
336}; 336};
@@ -449,17 +449,7 @@ static struct platform_driver ep93xx_ac97_driver = {
449 }, 449 },
450}; 450};
451 451
452static int __init ep93xx_ac97_init(void) 452module_platform_driver(ep93xx_ac97_driver);
453{
454 return platform_driver_register(&ep93xx_ac97_driver);
455}
456module_init(ep93xx_ac97_init);
457
458static void __exit ep93xx_ac97_exit(void)
459{
460 platform_driver_unregister(&ep93xx_ac97_driver);
461}
462module_exit(ep93xx_ac97_exit);
463 453
464MODULE_DESCRIPTION("EP93xx AC97 ASoC Driver"); 454MODULE_DESCRIPTION("EP93xx AC97 ASoC Driver");
465MODULE_AUTHOR("Mika Westerberg <mika.westerberg@iki.fi>"); 455MODULE_AUTHOR("Mika Westerberg <mika.westerberg@iki.fi>");