aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/au1x/db1000.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/au1x/db1000.c')
-rw-r--r--sound/soc/au1x/db1000.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/sound/soc/au1x/db1000.c b/sound/soc/au1x/db1000.c
index 127477a5e0c..511d83c11a9 100644
--- a/sound/soc/au1x/db1000.c
+++ b/sound/soc/au1x/db1000.c
@@ -29,6 +29,7 @@ static struct snd_soc_dai_link db1000_ac97_dai = {
29 29
30static struct snd_soc_card db1000_ac97 = { 30static struct snd_soc_card db1000_ac97 = {
31 .name = "DB1000_AC97", 31 .name = "DB1000_AC97",
32 .owner = THIS_MODULE,
32 .dai_link = &db1000_ac97_dai, 33 .dai_link = &db1000_ac97_dai,
33 .num_links = 1, 34 .num_links = 1,
34}; 35};
@@ -57,18 +58,7 @@ static struct platform_driver db1000_audio_driver = {
57 .remove = __devexit_p(db1000_audio_remove), 58 .remove = __devexit_p(db1000_audio_remove),
58}; 59};
59 60
60static int __init db1000_audio_load(void) 61module_platform_driver(db1000_audio_driver);
61{
62 return platform_driver_register(&db1000_audio_driver);
63}
64
65static void __exit db1000_audio_unload(void)
66{
67 platform_driver_unregister(&db1000_audio_driver);
68}
69
70module_init(db1000_audio_load);
71module_exit(db1000_audio_unload);
72 62
73MODULE_LICENSE("GPL"); 63MODULE_LICENSE("GPL");
74MODULE_DESCRIPTION("DB1000/DB1500/DB1100 ASoC audio"); 64MODULE_DESCRIPTION("DB1000/DB1500/DB1100 ASoC audio");