diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/aoa/Makefile | 4 | ||||
-rw-r--r-- | sound/aoa/soundbus/core.c | 22 |
2 files changed, 13 insertions, 13 deletions
diff --git a/sound/aoa/Makefile b/sound/aoa/Makefile index d8de3e7df48d..a8c037f908f8 100644 --- a/sound/aoa/Makefile +++ b/sound/aoa/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | obj-$(CONFIG_SND_AOA) += core/ | 1 | obj-$(CONFIG_SND_AOA) += core/ |
2 | obj-$(CONFIG_SND_AOA) += codecs/ | ||
3 | obj-$(CONFIG_SND_AOA) += fabrics/ | ||
4 | obj-$(CONFIG_SND_AOA_SOUNDBUS) += soundbus/ | 2 | obj-$(CONFIG_SND_AOA_SOUNDBUS) += soundbus/ |
3 | obj-$(CONFIG_SND_AOA) += fabrics/ | ||
4 | obj-$(CONFIG_SND_AOA) += codecs/ | ||
diff --git a/sound/aoa/soundbus/core.c b/sound/aoa/soundbus/core.c index abe84a76c835..47b3e3768df0 100644 --- a/sound/aoa/soundbus/core.c +++ b/sound/aoa/soundbus/core.c | |||
@@ -194,16 +194,6 @@ static struct bus_type soundbus_bus_type = { | |||
194 | .dev_attrs = soundbus_dev_attrs, | 194 | .dev_attrs = soundbus_dev_attrs, |
195 | }; | 195 | }; |
196 | 196 | ||
197 | static int __init soundbus_init(void) | ||
198 | { | ||
199 | return bus_register(&soundbus_bus_type); | ||
200 | } | ||
201 | |||
202 | static void __exit soundbus_exit(void) | ||
203 | { | ||
204 | bus_unregister(&soundbus_bus_type); | ||
205 | } | ||
206 | |||
207 | int soundbus_add_one(struct soundbus_dev *dev) | 197 | int soundbus_add_one(struct soundbus_dev *dev) |
208 | { | 198 | { |
209 | static int devcount; | 199 | static int devcount; |
@@ -246,5 +236,15 @@ void soundbus_unregister_driver(struct soundbus_driver *drv) | |||
246 | } | 236 | } |
247 | EXPORT_SYMBOL_GPL(soundbus_unregister_driver); | 237 | EXPORT_SYMBOL_GPL(soundbus_unregister_driver); |
248 | 238 | ||
249 | module_init(soundbus_init); | 239 | static int __init soundbus_init(void) |
240 | { | ||
241 | return bus_register(&soundbus_bus_type); | ||
242 | } | ||
243 | |||
244 | static void __exit soundbus_exit(void) | ||
245 | { | ||
246 | bus_unregister(&soundbus_bus_type); | ||
247 | } | ||
248 | |||
249 | subsys_initcall(soundbus_init); | ||
250 | module_exit(soundbus_exit); | 250 | module_exit(soundbus_exit); |