diff options
Diffstat (limited to 'drivers/input/mousedev.c')
-rw-r--r-- | drivers/input/mousedev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/mousedev.c b/drivers/input/mousedev.c index d528a2dba064..98973340d042 100644 --- a/drivers/input/mousedev.c +++ b/drivers/input/mousedev.c | |||
@@ -866,7 +866,7 @@ static struct mousedev *mousedev_create(struct input_dev *dev, | |||
866 | spin_lock_init(&mousedev->client_lock); | 866 | spin_lock_init(&mousedev->client_lock); |
867 | mutex_init(&mousedev->mutex); | 867 | mutex_init(&mousedev->mutex); |
868 | lockdep_set_subclass(&mousedev->mutex, | 868 | lockdep_set_subclass(&mousedev->mutex, |
869 | minor == MOUSEDEV_MIX ? MOUSEDEV_MIX : 0); | 869 | minor == MOUSEDEV_MIX ? SINGLE_DEPTH_NESTING : 0); |
870 | init_waitqueue_head(&mousedev->wait); | 870 | init_waitqueue_head(&mousedev->wait); |
871 | 871 | ||
872 | if (minor == MOUSEDEV_MIX) | 872 | if (minor == MOUSEDEV_MIX) |