diff options
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/hidraw.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hid/hidraw.c b/drivers/hid/hidraw.c index 68d087f63c02..468e87b53ed2 100644 --- a/drivers/hid/hidraw.c +++ b/drivers/hid/hidraw.c | |||
@@ -344,6 +344,9 @@ static const struct file_operations hidraw_ops = { | |||
344 | .open = hidraw_open, | 344 | .open = hidraw_open, |
345 | .release = hidraw_release, | 345 | .release = hidraw_release, |
346 | .unlocked_ioctl = hidraw_ioctl, | 346 | .unlocked_ioctl = hidraw_ioctl, |
347 | #ifdef CONFIG_COMPAT | ||
348 | .compat_ioctl = hidraw_ioctl, | ||
349 | #endif | ||
347 | .llseek = noop_llseek, | 350 | .llseek = noop_llseek, |
348 | }; | 351 | }; |
349 | 352 | ||