summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-06-25 14:48:11 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-25 19:01:12 +0200
commit42225a359aa8094242651191ad0ac9c338503d81 (patch)
tree39267729bd3e1a0029db587fe5596b4e31d8da67 /sound
parent[PATCH] for_each_cpu_mask() warning fix (diff)
downloadlinux-42225a359aa8094242651191ad0ac9c338503d81.tar.xz
linux-42225a359aa8094242651191ad0ac9c338503d81.zip
[PATCH] emu10k1: mark midi_spinlock as used
Why is it marked unused when in fact it's used? Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/oss/emu10k1/midi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/emu10k1/midi.c b/sound/oss/emu10k1/midi.c
index 25ae8e4a488d..8ac77df86397 100644
--- a/sound/oss/emu10k1/midi.c
+++ b/sound/oss/emu10k1/midi.c
@@ -45,7 +45,7 @@
#include "../sound_config.h"
#endif
-static DEFINE_SPINLOCK(midi_spinlock __attribute((unused)));
+static DEFINE_SPINLOCK(midi_spinlock);
static void init_midi_hdr(struct midi_hdr *midihdr)
{