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
vserver 1.9.5.x5
[linux-2.6.git]
/
sound
/
oss
/
sequencer.c
diff --git
a/sound/oss/sequencer.c
b/sound/oss/sequencer.c
index
038bf7f
..
6986142
100644
(file)
--- a/
sound/oss/sequencer.c
+++ b/
sound/oss/sequencer.c
@@
-28,7
+28,7
@@
static int pending_timer = -1; /* For timer change operation */
extern unsigned long seq_time;
static int obsolete_api_used;
extern unsigned long seq_time;
static int obsolete_api_used;
-static
spinlock_t lock=SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(lock)
;
/*
* Local counts for number of synth and MIDI devices. These are initialized
/*
* Local counts for number of synth and MIDI devices. These are initialized
@@
-1091,7
+1091,7
@@
int sequencer_open(int dev, struct file *file)
return 0;
}
return 0;
}
-void seq_drain_midi_queues(void)
+
static
void seq_drain_midi_queues(void)
{
int i, n;
{
int i, n;