Pull bugzilla-5653 into release branch
[firefly-linux-kernel-4.4.55.git] / include / linux / libps2.h
index a710bddda4ebaade343bd925bf7f9c7fb9fc20a5..08a450a9dbf7dc77bd6788824e82a38f8d09e6e2 100644 (file)
@@ -28,7 +28,7 @@ struct ps2dev {
        struct serio *serio;
 
        /* Ensures that only one command is executing at a time */
-       struct semaphore cmd_sem;
+       struct mutex cmd_mutex;
 
        /* Used to signal completion from interrupt handler */
        wait_queue_head_t wait;