diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-13 10:00:22 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-13 10:00:22 -0500 |
commit | 4de3a8e101150feaefa1139611a50ff37467f33e (patch) | |
tree | daada742542518b02d7db7c5d32e715eaa5f166d /sound/soc/au1x/db1200.c | |
parent | 294064f58953f9964e5945424b09c51800330a83 (diff) | |
parent | 099469502f62fbe0d7e4f0b83a2f22538367f734 (diff) |
Merge branch 'master' into fixes
Diffstat (limited to 'sound/soc/au1x/db1200.c')
-rw-r--r-- | sound/soc/au1x/db1200.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/sound/soc/au1x/db1200.c b/sound/soc/au1x/db1200.c index 289312c14b99..1c629393df78 100644 --- a/sound/soc/au1x/db1200.c +++ b/sound/soc/au1x/db1200.c | |||
@@ -45,6 +45,7 @@ static struct snd_soc_dai_link db1200_ac97_dai = { | |||
45 | 45 | ||
46 | static struct snd_soc_card db1200_ac97_machine = { | 46 | static struct snd_soc_card db1200_ac97_machine = { |
47 | .name = "DB1200_AC97", | 47 | .name = "DB1200_AC97", |
48 | .owner = THIS_MODULE, | ||
48 | .dai_link = &db1200_ac97_dai, | 49 | .dai_link = &db1200_ac97_dai, |
49 | .num_links = 1, | 50 | .num_links = 1, |
50 | }; | 51 | }; |
@@ -94,6 +95,7 @@ static struct snd_soc_dai_link db1200_i2s_dai = { | |||
94 | 95 | ||
95 | static struct snd_soc_card db1200_i2s_machine = { | 96 | static struct snd_soc_card db1200_i2s_machine = { |
96 | .name = "DB1200_I2S", | 97 | .name = "DB1200_I2S", |
98 | .owner = THIS_MODULE, | ||
97 | .dai_link = &db1200_i2s_dai, | 99 | .dai_link = &db1200_i2s_dai, |
98 | .num_links = 1, | 100 | .num_links = 1, |
99 | }; | 101 | }; |
@@ -133,18 +135,7 @@ static struct platform_driver db1200_audio_driver = { | |||
133 | .remove = __devexit_p(db1200_audio_remove), | 135 | .remove = __devexit_p(db1200_audio_remove), |
134 | }; | 136 | }; |
135 | 137 | ||
136 | static int __init db1200_audio_load(void) | 138 | module_platform_driver(db1200_audio_driver); |
137 | { | ||
138 | return platform_driver_register(&db1200_audio_driver); | ||
139 | } | ||
140 | |||
141 | static void __exit db1200_audio_unload(void) | ||
142 | { | ||
143 | platform_driver_unregister(&db1200_audio_driver); | ||
144 | } | ||
145 | |||
146 | module_init(db1200_audio_load); | ||
147 | module_exit(db1200_audio_unload); | ||
148 | 139 | ||
149 | MODULE_LICENSE("GPL"); | 140 | MODULE_LICENSE("GPL"); |
150 | MODULE_DESCRIPTION("DB1200 ASoC audio support"); | 141 | MODULE_DESCRIPTION("DB1200 ASoC audio support"); |