FROMLIST: platform/chrome: cros_ec_dev - Populate compat_ioctl
authorGuenter Roeck <linux@roeck-us.net>
Fri, 15 Apr 2016 02:35:29 +0000 (19:35 -0700)
committerGerrit Code Review <gerrit@rock-chips.com>
Mon, 25 Apr 2016 06:38:00 +0000 (14:38 +0800)
commit56ad960082586e01efb1b8dee49254fabe051ece
tree112681c443ebcb0eb9be6d105dc165833484dfae
parent7229de675c18d6d71e6791af670fdff0a07b494d
FROMLIST: platform/chrome: cros_ec_dev - Populate compat_ioctl

compat_ioctl has to be populated for 32 bit userspace applications to work
with 64 bit kernels.

BUG=chrome-os-partner:52276
TEST=Build and test with ectool on kevin

Change-Id: I3955d4cf869e4ad4b9f48cdc3b5901cf49dbbe83
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
(am from https://patchwork.kernel.org/patch/8844321/)
Signed-off-by: Guenter Roeck <groeck@chromium.org>
Reviewed-on: https://chrome-internal-review.googlesource.com/256310
Commit-Ready: Brian Norris <briannorris@google.com>
Tested-by: Brian Norris <briannorris@google.com>
Reviewed-by: Doug Anderson <dianders@google.com>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
drivers/platform/chrome/cros_ec_dev.c