summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/input/mousedev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/mousedev.c b/drivers/input/mousedev.c
index 2baf32d72845..88b962aeef13 100644
--- a/drivers/input/mousedev.c
+++ b/drivers/input/mousedev.c
@@ -576,6 +576,7 @@ static int mousedev_open(struct inode *inode, struct file *file)
goto err_free_client;
file->private_data = client;
+ nonseekable_open(inode, file);
return 0;
err_free_client: