diff options
Diffstat (limited to 'drivers/usb/musb-new/musb_uboot.h')
-rw-r--r-- | drivers/usb/musb-new/musb_uboot.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/usb/musb-new/musb_uboot.h b/drivers/usb/musb-new/musb_uboot.h new file mode 100644 index 0000000..69b7977 --- /dev/null +++ b/drivers/usb/musb-new/musb_uboot.h @@ -0,0 +1,24 @@ +/* + * MUSB OTG driver u-boot specific functions + * + * Copyright © 2015 Hans de Goede <hdegoede@redhat.com> + * + * SPDX-License-Identifier: GPL-2.0+ + */ +#ifndef __MUSB_UBOOT_H__ +#define __MUSB_UBOOT_H__ + +#include <usb.h> +#include "linux-compat.h" +#include "usb-compat.h" +#include "musb_core.h" + +struct musb_host_data { + struct musb *host; + struct usb_hcd hcd; + enum usb_device_speed host_speed; + struct usb_host_endpoint hep; + struct urb urb; +}; + +#endif |