mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
usb: gadget: accessory: add compat_ioctl
Add compat_ioctl for accessory to work on 64-bit platforms. Change-Id: I805395c35017111bf0c462847f11765c7088d266 Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
This commit is contained in:
parent
ccc5c5b34c
commit
349bb1466b
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user