diff options
author | Eldad Zack <eldad@fogrefinery.com> | 2013-04-03 17:18:51 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-04-04 02:30:24 -0400 |
commit | ed136aca77144ccc790b58a0a54201909cddc6d6 (patch) | |
tree | 9a16af9287c85d0f0b7f23939d50ae24a04c1fbb | |
parent | f9d354359145fae6ad1b0a2cf2b1a49ec817796a (diff) |
ALSA: usb-audio: neaten EXPORT_SYMBOLS placement
Put EXPORT_SYMBOLS directly under the exported function.
Signed-off-by: Eldad Zack <eldad@fogrefinery.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/usb/midi.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sound/usb/midi.c b/sound/usb/midi.c index 1cf943d86bcd..60c7aa7579cc 100644 --- a/sound/usb/midi.c +++ b/sound/usb/midi.c | |||
@@ -1455,6 +1455,7 @@ void snd_usbmidi_disconnect(struct list_head* p) | |||
1455 | } | 1455 | } |
1456 | del_timer_sync(&umidi->error_timer); | 1456 | del_timer_sync(&umidi->error_timer); |
1457 | } | 1457 | } |
1458 | EXPORT_SYMBOL(snd_usbmidi_disconnect); | ||
1458 | 1459 | ||
1459 | static void snd_usbmidi_rawmidi_free(struct snd_rawmidi *rmidi) | 1460 | static void snd_usbmidi_rawmidi_free(struct snd_rawmidi *rmidi) |
1460 | { | 1461 | { |
@@ -2090,6 +2091,7 @@ void snd_usbmidi_input_stop(struct list_head* p) | |||
2090 | } | 2091 | } |
2091 | umidi->input_running = 0; | 2092 | umidi->input_running = 0; |
2092 | } | 2093 | } |
2094 | EXPORT_SYMBOL(snd_usbmidi_input_stop); | ||
2093 | 2095 | ||
2094 | static void snd_usbmidi_input_start_ep(struct snd_usb_midi_in_endpoint* ep) | 2096 | static void snd_usbmidi_input_start_ep(struct snd_usb_midi_in_endpoint* ep) |
2095 | { | 2097 | { |
@@ -2119,6 +2121,7 @@ void snd_usbmidi_input_start(struct list_head* p) | |||
2119 | snd_usbmidi_input_start_ep(umidi->endpoints[i].in); | 2121 | snd_usbmidi_input_start_ep(umidi->endpoints[i].in); |
2120 | umidi->input_running = 1; | 2122 | umidi->input_running = 1; |
2121 | } | 2123 | } |
2124 | EXPORT_SYMBOL(snd_usbmidi_input_start); | ||
2122 | 2125 | ||
2123 | /* | 2126 | /* |
2124 | * Creates and registers everything needed for a MIDI streaming interface. | 2127 | * Creates and registers everything needed for a MIDI streaming interface. |
@@ -2258,8 +2261,4 @@ int snd_usbmidi_create(struct snd_card *card, | |||
2258 | list_add_tail(&umidi->list, midi_list); | 2261 | list_add_tail(&umidi->list, midi_list); |
2259 | return 0; | 2262 | return 0; |
2260 | } | 2263 | } |
2261 | |||
2262 | EXPORT_SYMBOL(snd_usbmidi_create); | 2264 | EXPORT_SYMBOL(snd_usbmidi_create); |
2263 | EXPORT_SYMBOL(snd_usbmidi_input_stop); | ||
2264 | EXPORT_SYMBOL(snd_usbmidi_input_start); | ||
2265 | EXPORT_SYMBOL(snd_usbmidi_disconnect); | ||