git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git]
/
sound
/
oss
/
wf_midi.c
diff --git
a/sound/oss/wf_midi.c
b/sound/oss/wf_midi.c
index
3ced960
..
7b167b7
100644
(file)
--- a/
sound/oss/wf_midi.c
+++ b/
sound/oss/wf_midi.c
@@
-81,7
+81,7
@@
static struct wf_mpu_config *phys_dev = &devs[0];
static struct wf_mpu_config *virt_dev = &devs[1];
static void start_uart_mode (void);
-static
spinlock_t lock=SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(lock)
;
#define OUTPUT_READY 0x40
#define INPUT_AVAIL 0x80