Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux...
[firefly-linux-kernel-4.4.55.git] / drivers / usb / gadget / function / f_accessory.c
index 9d3ec0e3747561855dfb7247990410a1195747d5..49dbef82a8622aed75d4d5301815dad2c44375d1 100644 (file)
@@ -773,6 +773,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,
 };