]> Pileus Git - ~andy/linux/blobdiff - drivers/input/mousedev.c
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
[~andy/linux] / drivers / input / mousedev.c
index d528a2dba06418eb5e80097552463e9abec5db05..2a00ddf4f23a3b469c621be77b08c4d6b943c428 100644 (file)
@@ -792,6 +792,7 @@ static const struct file_operations mousedev_fops = {
        .open =         mousedev_open,
        .release =      mousedev_release,
        .fasync =       mousedev_fasync,
+       .llseek = noop_llseek,
 };
 
 static int mousedev_install_chrdev(struct mousedev *mousedev)
@@ -866,7 +867,7 @@ static struct mousedev *mousedev_create(struct input_dev *dev,
        spin_lock_init(&mousedev->client_lock);
        mutex_init(&mousedev->mutex);
        lockdep_set_subclass(&mousedev->mutex,
-                            minor == MOUSEDEV_MIX ? MOUSEDEV_MIX : 0);
+                            minor == MOUSEDEV_MIX ? SINGLE_DEPTH_NESTING : 0);
        init_waitqueue_head(&mousedev->wait);
 
        if (minor == MOUSEDEV_MIX)