]> git.sur5r.net Git - u-boot/blobdiff - drivers/usb/gadget/dwc2_udc_otg_priv.h
usb: gadget: g_dnl: hold maximum string descriptor
[u-boot] / drivers / usb / gadget / dwc2_udc_otg_priv.h
index 5126a9d8eb04d7929e7a727309bf0484933647a5..c40ecf8acaf4a4128b9727701b1b5977d59af619 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Samsung S3C on-chip full/high speed USB device controllers
+ * Designware DWC2 on-chip full/high speed USB device controllers
  * Copyright (C) 2005 for Samsung Electronics
  *
  * SPDX-License-Identifier:    GPL-2.0+
@@ -8,13 +8,13 @@
 #ifndef __DWC2_UDC_OTG_PRIV__
 #define __DWC2_UDC_OTG_PRIV__
 
-#include <asm/errno.h>
+#include <linux/errno.h>
 #include <linux/sizes.h>
 #include <linux/usb/ch9.h>
 #include <linux/usb/gadget.h>
 #include <linux/list.h>
 #include <usb/lin_gadget_compat.h>
-#include <usb/s3c_udc.h>
+#include <usb/dwc2_udc.h>
 
 /*-------------------------------------------------------------------------*/
 /* DMA bounce buffer size, 16K is enough even for mass storage */
@@ -78,7 +78,7 @@ struct dwc2_udc {
        struct usb_gadget gadget;
        struct usb_gadget_driver *driver;
 
-       struct s3c_plat_otg_data *pdata;
+       struct dwc2_plat_otg_data *pdata;
 
        int ep0state;
        struct dwc2_ep ep[DWC2_MAX_ENDPOINTS];