diff options
Diffstat (limited to 'hw/usb_client.h')
-rw-r--r-- | hw/usb_client.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hw/usb_client.h b/hw/usb_client.h index 372bfb6..26a334a 100644 --- a/hw/usb_client.h +++ b/hw/usb_client.h @@ -56,4 +56,12 @@ struct usb_client { void (*free_gadget)(struct usb_gadget *gadget); }; +int hw_legacy_gadget_open(struct hw_info *info, + const char *id, struct hw_common **common); +int hw_legacy_gadget_close(struct hw_common *common); + +int hw_cfs_gadget_open(struct hw_info *info, + const char *id, struct hw_common **common); +int hw_cfs_gadget_close(struct hw_common *common); + #endif |