diff options
Diffstat (limited to 'drivers/hid/uhid.c')
-rw-r--r-- | drivers/hid/uhid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/uhid.c b/drivers/hid/uhid.c index 840634e0f1e3..dbaead0a5371 100644 --- a/drivers/hid/uhid.c +++ b/drivers/hid/uhid.c | |||
@@ -632,7 +632,7 @@ static int uhid_char_open(struct inode *inode, struct file *file) | |||
632 | INIT_WORK(&uhid->worker, uhid_device_add_worker); | 632 | INIT_WORK(&uhid->worker, uhid_device_add_worker); |
633 | 633 | ||
634 | file->private_data = uhid; | 634 | file->private_data = uhid; |
635 | nonseekable_open(inode, file); | 635 | stream_open(inode, file); |
636 | 636 | ||
637 | return 0; | 637 | return 0; |
638 | } | 638 | } |