aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/blackfin/bfin-eval-adau1701.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/blackfin/bfin-eval-adau1701.c')
-rw-r--r--sound/soc/blackfin/bfin-eval-adau1701.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/sound/soc/blackfin/bfin-eval-adau1701.c b/sound/soc/blackfin/bfin-eval-adau1701.c
index e5550acba2c2..c0064fa1dca6 100644
--- a/sound/soc/blackfin/bfin-eval-adau1701.c
+++ b/sound/soc/blackfin/bfin-eval-adau1701.c
@@ -84,6 +84,7 @@ static struct snd_soc_dai_link bfin_eval_adau1701_dai[] = {
84 84
85static struct snd_soc_card bfin_eval_adau1701 = { 85static struct snd_soc_card bfin_eval_adau1701 = {
86 .name = "bfin-eval-adau1701", 86 .name = "bfin-eval-adau1701",
87 .owner = THIS_MODULE,
87 .dai_link = &bfin_eval_adau1701_dai[CONFIG_SND_BF5XX_SPORT_NUM], 88 .dai_link = &bfin_eval_adau1701_dai[CONFIG_SND_BF5XX_SPORT_NUM],
88 .num_links = 1, 89 .num_links = 1,
89 90
@@ -121,17 +122,7 @@ static struct platform_driver bfin_eval_adau1701_driver = {
121 .remove = __devexit_p(bfin_eval_adau1701_remove), 122 .remove = __devexit_p(bfin_eval_adau1701_remove),
122}; 123};
123 124
124static int __init bfin_eval_adau1701_init(void) 125module_platform_driver(bfin_eval_adau1701_driver);
125{
126 return platform_driver_register(&bfin_eval_adau1701_driver);
127}
128module_init(bfin_eval_adau1701_init);
129
130static void __exit bfin_eval_adau1701_exit(void)
131{
132 platform_driver_unregister(&bfin_eval_adau1701_driver);
133}
134module_exit(bfin_eval_adau1701_exit);
135 126
136MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>"); 127MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>");
137MODULE_DESCRIPTION("ALSA SoC bfin ADAU1701 driver"); 128MODULE_DESCRIPTION("ALSA SoC bfin ADAU1701 driver");