mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
usb: gadget: accessory: add compatibility ioctl
Change-Id: I301c1f2f17c906d0a3912248fa16bc20b4a32b3c Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
This commit is contained in:
@@ -765,6 +765,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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user