diff options
Diffstat (limited to 'drivers/input/evdev.c')
| -rw-r--r-- | drivers/input/evdev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c index a04a8314dc87..c1c220fcb763 100644 --- a/drivers/input/evdev.c +++ b/drivers/input/evdev.c | |||
| @@ -491,7 +491,9 @@ static long evdev_ioctl_compat(struct file *file, unsigned int cmd, unsigned lon | |||
| 491 | struct input_dev *dev = evdev->handle.dev; | 491 | struct input_dev *dev = evdev->handle.dev; |
| 492 | struct input_absinfo abs; | 492 | struct input_absinfo abs; |
| 493 | void __user *p = compat_ptr(arg); | 493 | void __user *p = compat_ptr(arg); |
| 494 | #ifdef __BIG_ENDIAN | ||
| 494 | int i; | 495 | int i; |
| 496 | #endif | ||
| 495 | 497 | ||
| 496 | if (!evdev->exist) return -ENODEV; | 498 | if (!evdev->exist) return -ENODEV; |
| 497 | 499 | ||
