diff options
Diffstat (limited to 'drivers/usb/gadget/f_accessory.c')
-rw-r--r-- | drivers/usb/gadget/f_accessory.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/usb/gadget/f_accessory.c b/drivers/usb/gadget/f_accessory.c index f643146acb22..2ee3e4f18364 100644 --- a/drivers/usb/gadget/f_accessory.c +++ b/drivers/usb/gadget/f_accessory.c @@ -2,6 +2,8 @@ * Gadget Function Driver for Android USB accessories * * Copyright (C) 2011 Google, Inc. + * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. + * * Author: Mike Lockwood <lockwood@android.com> * * This software is licensed under the terms of the GNU General Public @@ -756,6 +758,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, }; |