aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/misc/uinput.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/misc/uinput.c b/drivers/input/misc/uinput.c
index 18206e18d1b1..1477466076ad 100644
--- a/drivers/input/misc/uinput.c
+++ b/drivers/input/misc/uinput.c
@@ -290,6 +290,7 @@ static int uinput_open(struct inode *inode, struct file *file)
290 newdev->state = UIST_NEW_DEVICE; 290 newdev->state = UIST_NEW_DEVICE;
291 291
292 file->private_data = newdev; 292 file->private_data = newdev;
293 nonseekable_open(inode, file);
293 294
294 return 0; 295 return 0;
295} 296}