summaryrefslogtreecommitdiff
path: root/hw/usb_gadget.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb_gadget.h')
-rw-r--r--hw/usb_gadget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb_gadget.h b/hw/usb_gadget.h
index 4dd3be9..c0ac3dc 100644
--- a/hw/usb_gadget.h
+++ b/hw/usb_gadget.h
@@ -126,7 +126,6 @@ struct usb_gadget_strings {
struct usb_gadget {
struct usb_gadget_attrs attrs;
struct usb_gadget_strings strs;
- struct usb_function **funcs;
struct usb_configuration **configs;
};
@@ -144,6 +143,7 @@ struct usb_gadget_translator {
int simple_translator_open(struct hw_info *info, const char *id, struct hw_common **common);
int simple_translator_close(struct hw_common *common);
+struct usb_function *find_usb_function_by_id(int id);
struct usb_function *find_usb_function_by_name(const char *name);
struct usb_function *find_usb_function_by_name_instance(const char *name, const char *instance);