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-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a61caa8523a76e497f6b2a05350c892bc5ee402c;p=openwrt%2Fstaging%2Fblogic.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 033456bb9fe0..e996183c5b06 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);