Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2521ea3e authored by Guenter Roeck's avatar Guenter Roeck Committed by Olof Johansson
Browse files

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.

Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Tested-by: default avatarBrian Norris <briannorris@chromium.org>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent d940f306
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -212,6 +212,9 @@ static const struct file_operations fops = {
	.release = ec_device_release,
	.read = ec_device_read,
	.unlocked_ioctl = ec_device_ioctl,
#ifdef CONFIG_COMPAT
	.compat_ioctl = ec_device_ioctl,
#endif
};

static void __remove(struct device *dev)