projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d940f30
)
platform/chrome: cros_ec_dev - Populate compat_ioctl
author
Guenter Roeck
<linux@roeck-us.net>
Fri, 15 Apr 2016 02:35:29 +0000
(19:35 -0700)
committer
Olof Johansson
<olof@lixom.net>
Wed, 11 May 2016 18:55:48 +0000
(11:55 -0700)
compat_ioctl has to be populated for 32 bit userspace applications to work
with 64 bit kernels.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/platform/chrome/cros_ec_dev.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/platform/chrome/cros_ec_dev.c
b/drivers/platform/chrome/cros_ec_dev.c
index 187470c8a1f60a0ae59c55a5cac2aeb8fe7e9ead..6d8ee3b1587276494274617d65029534df1d1af6 100644
(file)
--- a/
drivers/platform/chrome/cros_ec_dev.c
+++ b/
drivers/platform/chrome/cros_ec_dev.c
@@
-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)