projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
FROMLIST: platform/chrome: cros_ec_dev - Populate compat_ioctl
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
platform
/
chrome
/
cros_ec_dev.c
diff --git
a/drivers/platform/chrome/cros_ec_dev.c
b/drivers/platform/chrome/cros_ec_dev.c
index d45cd254ed1c8f295292074100934130235fca64..74979362fd3d42636d912c10c5220ebd0458278f 100644
(file)
--- a/
drivers/platform/chrome/cros_ec_dev.c
+++ b/
drivers/platform/chrome/cros_ec_dev.c
@@
-208,6
+208,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)