projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
177d0ab
)
ODROID-N2: usb/gadget: add 'compat_ioctl(...)' for 32bit Android
author
Dongjin Kim
<tobetter@gmail.com>
Thu, 8 Aug 2019 09:51:03 +0000
(18:51 +0900)
committer
Dongjin Kim
<tobetter@gmail.com>
Tue, 17 Mar 2020 21:37:18 +0000
(06:37 +0900)
Change-Id: I0ff9c0c97feb7388db8bb8ec4fb283fceb088ee7
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
drivers/usb/gadget/function/f_accessory.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/function/f_accessory.c
b/drivers/usb/gadget/function/f_accessory.c
index
7aa2656
..
d0f1df9
100644
(file)
--- a/
drivers/usb/gadget/function/f_accessory.c
+++ b/
drivers/usb/gadget/function/f_accessory.c
@@
-779,6
+779,9
@@
static const struct file_operations acc_fops = {
.read = acc_read,
.write = acc_write,
.unlocked_ioctl = acc_ioctl,
+#ifdef CONFIG_COMPAT
+ .compat_ioctl = acc_ioctl,
+#endif
.open = acc_open,
.release = acc_release,
};