diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-02-11 16:37:16 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-02-12 05:35:11 -0500 |
commit | b6a42670e074da39b5a9f990774359e0733ca9cd (patch) | |
tree | 8db52a268e091a7fe371791a0b1547a56a87bc63 /sound/core/seq | |
parent | 0b444af8daf9cd28264aa3c85587c0c8601208ba (diff) |
ALSA: seq: Move EXPORT_SYMBOL() after each function
... to follow the standard coding style.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/seq')
-rw-r--r-- | sound/core/seq/seq_device.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/sound/core/seq/seq_device.c b/sound/core/seq/seq_device.c index 0631bdadd12b..a752a79a8d3a 100644 --- a/sound/core/seq/seq_device.c +++ b/sound/core/seq/seq_device.c | |||
@@ -133,11 +133,13 @@ void snd_seq_autoload_lock(void) | |||
133 | { | 133 | { |
134 | atomic_inc(&snd_seq_in_init); | 134 | atomic_inc(&snd_seq_in_init); |
135 | } | 135 | } |
136 | EXPORT_SYMBOL(snd_seq_autoload_lock); | ||
136 | 137 | ||
137 | void snd_seq_autoload_unlock(void) | 138 | void snd_seq_autoload_unlock(void) |
138 | { | 139 | { |
139 | atomic_dec(&snd_seq_in_init); | 140 | atomic_dec(&snd_seq_in_init); |
140 | } | 141 | } |
142 | EXPORT_SYMBOL(snd_seq_autoload_unlock); | ||
141 | 143 | ||
142 | static void autoload_drivers(void) | 144 | static void autoload_drivers(void) |
143 | { | 145 | { |
@@ -195,10 +197,12 @@ void snd_seq_autoload_init(void) | |||
195 | queue_autoload_drivers(); | 197 | queue_autoload_drivers(); |
196 | #endif | 198 | #endif |
197 | } | 199 | } |
200 | EXPORT_SYMBOL(snd_seq_autoload_init); | ||
198 | #else | 201 | #else |
199 | #define try_autoload(ops) /* NOP */ | 202 | #define try_autoload(ops) /* NOP */ |
200 | #endif | 203 | #endif |
201 | 204 | ||
205 | |||
202 | void snd_seq_device_load_drivers(void) | 206 | void snd_seq_device_load_drivers(void) |
203 | { | 207 | { |
204 | #ifdef CONFIG_MODULES | 208 | #ifdef CONFIG_MODULES |
@@ -206,6 +210,7 @@ void snd_seq_device_load_drivers(void) | |||
206 | flush_work(&autoload_work); | 210 | flush_work(&autoload_work); |
207 | #endif | 211 | #endif |
208 | } | 212 | } |
213 | EXPORT_SYMBOL(snd_seq_device_load_drivers); | ||
209 | 214 | ||
210 | /* | 215 | /* |
211 | * register a sequencer device | 216 | * register a sequencer device |
@@ -268,6 +273,7 @@ int snd_seq_device_new(struct snd_card *card, int device, char *id, int argsize, | |||
268 | 273 | ||
269 | return 0; | 274 | return 0; |
270 | } | 275 | } |
276 | EXPORT_SYMBOL(snd_seq_device_new); | ||
271 | 277 | ||
272 | /* | 278 | /* |
273 | * free the existing device | 279 | * free the existing device |
@@ -326,6 +332,7 @@ static int snd_seq_device_dev_register(struct snd_device *device) | |||
326 | unlock_driver(ops); | 332 | unlock_driver(ops); |
327 | return 0; | 333 | return 0; |
328 | } | 334 | } |
335 | EXPORT_SYMBOL(snd_seq_device_register_driver); | ||
329 | 336 | ||
330 | /* | 337 | /* |
331 | * disconnect the device | 338 | * disconnect the device |
@@ -344,6 +351,7 @@ static int snd_seq_device_dev_disconnect(struct snd_device *device) | |||
344 | unlock_driver(ops); | 351 | unlock_driver(ops); |
345 | return 0; | 352 | return 0; |
346 | } | 353 | } |
354 | EXPORT_SYMBOL(snd_seq_device_unregister_driver); | ||
347 | 355 | ||
348 | /* | 356 | /* |
349 | * register device driver | 357 | * register device driver |
@@ -604,13 +612,3 @@ static void __exit alsa_seq_device_exit(void) | |||
604 | 612 | ||
605 | module_init(alsa_seq_device_init) | 613 | module_init(alsa_seq_device_init) |
606 | module_exit(alsa_seq_device_exit) | 614 | module_exit(alsa_seq_device_exit) |
607 | |||
608 | EXPORT_SYMBOL(snd_seq_device_load_drivers); | ||
609 | EXPORT_SYMBOL(snd_seq_device_new); | ||
610 | EXPORT_SYMBOL(snd_seq_device_register_driver); | ||
611 | EXPORT_SYMBOL(snd_seq_device_unregister_driver); | ||
612 | #ifdef CONFIG_MODULES | ||
613 | EXPORT_SYMBOL(snd_seq_autoload_init); | ||
614 | EXPORT_SYMBOL(snd_seq_autoload_lock); | ||
615 | EXPORT_SYMBOL(snd_seq_autoload_unlock); | ||
616 | #endif | ||