[PATCH] trivial __user cleanup (video1394)
[pandora-kernel.git] / drivers / input / joystick / amijoy.c
index 033456b..e996183 100644 (file)
@@ -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);