summaryrefslogtreecommitdiffstats
path: root/drivers/input/joystick
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2005-07-13 12:56:42 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-13 11:44:27 -0700
commita61caa8523a76e497f6b2a05350c892bc5ee402c (patch)
treed4fb2ca050a31e47adf45e811017964c46ccf38c /drivers/input/joystick
parentf264cc28245d4d635d586be8c2148140726756dd (diff)
downloadop-kernel-dev-a61caa8523a76e497f6b2a05350c892bc5ee402c.zip
op-kernel-dev-a61caa8523a76e497f6b2a05350c892bc5ee402c.tar.gz
[PATCH] Amiga joystick: Fix typo introduced by the open/close race fixes
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/input/joystick')
-rw-r--r--drivers/input/joystick/amijoy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/joystick/amijoy.c b/drivers/input/joystick/amijoy.c
index 033456b..e996183 100644
--- a/drivers/input/joystick/amijoy.c
+++ b/drivers/input/joystick/amijoy.c
@@ -105,7 +105,7 @@ out:
static void amijoy_close(struct input_dev *dev)
{
- down(&amijoysem);
+ down(&amijoy_sem);
if (!--amijoy_used)
free_irq(IRQ_AMIGA_VERTB, amijoy_interrupt);
up(&amijoy_sem);
OpenPOWER on IntegriCloud