diff options
Diffstat (limited to 'sound/soc/au1x/db1000.c')
-rw-r--r-- | sound/soc/au1x/db1000.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/sound/soc/au1x/db1000.c b/sound/soc/au1x/db1000.c index 127477a5e0c7..511d83c11a9a 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 | ||
30 | static struct snd_soc_card db1000_ac97 = { | 30 | static 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 | ||
60 | static int __init db1000_audio_load(void) | 61 | module_platform_driver(db1000_audio_driver); |
61 | { | ||
62 | return platform_driver_register(&db1000_audio_driver); | ||
63 | } | ||
64 | |||
65 | static void __exit db1000_audio_unload(void) | ||
66 | { | ||
67 | platform_driver_unregister(&db1000_audio_driver); | ||
68 | } | ||
69 | |||
70 | module_init(db1000_audio_load); | ||
71 | module_exit(db1000_audio_unload); | ||
72 | 62 | ||
73 | MODULE_LICENSE("GPL"); | 63 | MODULE_LICENSE("GPL"); |
74 | MODULE_DESCRIPTION("DB1000/DB1500/DB1100 ASoC audio"); | 64 | MODULE_DESCRIPTION("DB1000/DB1500/DB1100 ASoC audio"); |