diff options
Diffstat (limited to 'sound/soc/blackfin/bfin-eval-adau1701.c')
-rw-r--r-- | sound/soc/blackfin/bfin-eval-adau1701.c | 13 |
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 | ||
85 | static struct snd_soc_card bfin_eval_adau1701 = { | 85 | static 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 | ||
124 | static int __init bfin_eval_adau1701_init(void) | 125 | module_platform_driver(bfin_eval_adau1701_driver); |
125 | { | ||
126 | return platform_driver_register(&bfin_eval_adau1701_driver); | ||
127 | } | ||
128 | module_init(bfin_eval_adau1701_init); | ||
129 | |||
130 | static void __exit bfin_eval_adau1701_exit(void) | ||
131 | { | ||
132 | platform_driver_unregister(&bfin_eval_adau1701_driver); | ||
133 | } | ||
134 | module_exit(bfin_eval_adau1701_exit); | ||
135 | 126 | ||
136 | MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>"); | 127 | MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>"); |
137 | MODULE_DESCRIPTION("ALSA SoC bfin ADAU1701 driver"); | 128 | MODULE_DESCRIPTION("ALSA SoC bfin ADAU1701 driver"); |