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]
/
drivers
/
input
/
misc
/
pcspkr.c
diff --git
a/drivers/input/misc/pcspkr.c
b/drivers/input/misc/pcspkr.c
index
830d1c3
..
58a39fd
100644
(file)
--- a/
drivers/input/misc/pcspkr.c
+++ b/
drivers/input/misc/pcspkr.c
@@
-27,7
+27,7
@@
static char pcspkr_name[] = "PC Speaker";
static char pcspkr_phys[] = "isa0061/input0";
static struct input_dev pcspkr_dev;
static char pcspkr_phys[] = "isa0061/input0";
static struct input_dev pcspkr_dev;
-
spinlock_t i8253_beep_lock = SPIN_LOCK_UNLOCKED
;
+
DEFINE_SPINLOCK(i8253_beep_lock)
;
static int pcspkr_event(struct input_dev *dev, unsigned int type, unsigned int code, int value)
{
static int pcspkr_event(struct input_dev *dev, unsigned int type, unsigned int code, int value)
{