From: Geert Uytterhoeven Date: Wed, 13 Jul 2005 10:56:42 +0000 (+0200) Subject: [PATCH] Amiga joystick: Fix typo introduced by the open/close race fixes X-Git-Tag: v2.6.13-rc4~118 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a61caa8523a76e497f6b2a05350c892bc5ee402c;p=linux-2.6-omap-h63xx.git [PATCH] Amiga joystick: Fix typo introduced by the open/close race fixes Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds --- diff --git a/drivers/input/joystick/amijoy.c b/drivers/input/joystick/amijoy.c index 033456bb9fe..e996183c5b0 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);