提交 2521ea3e 编写于 作者: G Guenter Roeck 提交者: Olof Johansson

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: NGuenter Roeck <linux@roeck-us.net>
Tested-by: NBrian Norris <briannorris@chromium.org>
Signed-off-by: NOlof Johansson <olof@lixom.net>
上级 d940f306
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册