diff options
author | Rajesh Bhagat <rajesh.bhagat@nxp.com> | 2016-08-04 09:26:53 (GMT) |
---|---|---|
committer | Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> | 2017-07-19 05:46:35 (GMT) |
commit | e1b1fc55b529b121c3b94843d0388f79e536c909 (patch) | |
tree | 5b77dd598b43e806afab14fb6a66cf45d2eafa50 /include | |
parent | a836ef446fe14fc61526e7300994f978e21cec43 (diff) | |
download | u-boot-e1b1fc55b529b121c3b94843d0388f79e536c909.tar.xz |
usb: ums: support multiple controllers using controller_index
Adds a new field in fsg_common namely controller_index to support
multiple controllers usb gadget support.
Signed-off-by: Rajat Srivastava <rajat.srivastava@nxp.com>
Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com>
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/usb_mass_storage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/usb_mass_storage.h b/include/usb_mass_storage.h index 8229f62..f21cc7a 100644 --- a/include/usb_mass_storage.h +++ b/include/usb_mass_storage.h @@ -28,6 +28,6 @@ struct ums { int fsg_init(struct ums *ums_devs, int count); void fsg_cleanup(void); -int fsg_main_thread(void *); +int fsg_main_thread(unsigned int); int fsg_add(struct usb_configuration *c); #endif /* __USB_MASS_STORAGE_H__ */ |