diff options
author | Kishon Vijay Abraham I | 2015-02-23 18:40:23 +0530 |
---|---|---|
committer | Marek Vasut | 2015-04-14 05:48:11 +0200 |
commit | 2d48aa69bd2e0164a22b253733564701ed3381a1 (patch) | |
tree | 82b4ea7b3a45893b5dee50d02e3ee59c5363e84c /include/linux | |
parent | a69e2c225d152cb91d7d279eb8107f26a9938e51 (diff) |
usb: modify usb_gadget_handle_interrupts to take controller index
Since we support multiple dwc3 controllers to be existent at the same
time, in order to handle the interrupts of a particular dwc3 controller
usb_gadget_handle_interrutps should take controller index as an
argument.
Hence the API of usb_gadget_handle_interrupts is modified to take
controller index as an argument and made the corresponding changes to all
the usb_gadget_handle_interrupts calls.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/usb/gadget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h index 93a5ffc4f4c..230f47d67e2 100644 --- a/include/linux/usb/gadget.h +++ b/include/linux/usb/gadget.h @@ -937,6 +937,6 @@ extern struct usb_ep *usb_ep_autoconfig(struct usb_gadget *, extern void usb_ep_autoconfig_reset(struct usb_gadget *); -extern int usb_gadget_handle_interrupts(void); +extern int usb_gadget_handle_interrupts(int index); #endif /* __LINUX_USB_GADGET_H */ |