summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-03-13 08:16:44 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-03-13 08:16:44 +0100
commit6b926567c0cfd360d7ab8bedc3745610eda379bd (patch)
tree2fb531e8d1ab89c3ae0fd349c1717564841a784c /include
parenta2e3bad25f6033e35e7a0f729cbd164d2d079c17 (diff)
parent2b9bcff79a02f770fa730e2689ba35cc03c0da7d (diff)
downloadbarebox-6b926567c0cfd360d7ab8bedc3745610eda379bd.tar.gz
barebox-6b926567c0cfd360d7ab8bedc3745610eda379bd.tar.xz
Merge branch 'for-next/usb'
Diffstat (limited to 'include')
-rw-r--r--include/usb/gadget-multi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/usb/gadget-multi.h b/include/usb/gadget-multi.h
index 5ca462326a..81beddc7cf 100644
--- a/include/usb/gadget-multi.h
+++ b/include/usb/gadget-multi.h
@@ -9,9 +9,11 @@ struct f_multi_opts {
struct f_fastboot_opts fastboot_opts;
struct f_dfu_opts dfu_opts;
int create_acm;
+ void (*release)(struct f_multi_opts *opts);
};
int usb_multi_register(struct f_multi_opts *opts);
void usb_multi_unregister(void);
+void usb_multi_opts_release(struct f_multi_opts *opts);
#endif /* __USB_GADGET_MULTI_H */