From: Vojtech Pavlik Date: Sun, 29 May 2005 07:26:50 +0000 (-0500) Subject: Input: Fix a warning in evdev's 32-bit emulation code. X-Git-Tag: v2.6.13-rc1~51^2~43^2~46 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b0f71c996849539ac68ebab5edbd208bb9c0646c;p=karo-tx-linux.git Input: Fix a warning in evdev's 32-bit emulation code. Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov --- 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 struct input_dev *dev = evdev->handle.dev; struct input_absinfo abs; void __user *p = compat_ptr(arg); +#ifdef __BIG_ENDIAN int i; +#endif if (!evdev->exist) return -ENODEV;