diff options
author | Marek Vasut <marex@denx.de> | 2015-12-04 01:46:15 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-12-17 21:54:38 +0100 |
commit | 5f3a562a3ba145b2fb62ddb77f59bac5c4ab3ff6 (patch) | |
tree | ef38054b59fd267d48c4d0e0619fad5e2cf777d1 | |
parent | 1f99ab5c9286148360c2021da39f67a9c6d79db0 (diff) | |
download | u-boot-imx-5f3a562a3ba145b2fb62ddb77f59bac5c4ab3ff6.zip u-boot-imx-5f3a562a3ba145b2fb62ddb77f59bac5c4ab3ff6.tar.gz u-boot-imx-5f3a562a3ba145b2fb62ddb77f59bac5c4ab3ff6.tar.bz2 |
usb: s3c-otg: Rename struct s3c_dev_*_ep
The driver is actually for the Designware DWC2 controller.
This patch renames struct s3c_dev_*_ep to reflect this.
Signed-off-by: Marek Vasut <marex@denx.de>
-rw-r--r-- | drivers/usb/gadget/s3c_udc_otg_regs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/gadget/s3c_udc_otg_regs.h b/drivers/usb/gadget/s3c_udc_otg_regs.h index e5115dd..57affcb 100644 --- a/drivers/usb/gadget/s3c_udc_otg_regs.h +++ b/drivers/usb/gadget/s3c_udc_otg_regs.h @@ -19,7 +19,7 @@ struct dwc2_usbotg_phy { }; /* Device Logical IN Endpoint-Specific Registers */ -struct s3c_dev_in_endp { +struct dwc2_dev_in_endp { u32 diepctl; u8 res1[4]; u32 diepint; @@ -31,7 +31,7 @@ struct s3c_dev_in_endp { }; /* Device Logical OUT Endpoint-Specific Registers */ -struct s3c_dev_out_endp { +struct dwc2_dev_out_endp { u32 doepctl; u8 res1[4]; u32 doepint; @@ -74,8 +74,8 @@ struct dwc2_usbotg_reg { u32 daint; /* Device All Endpoints Interrupt */ u32 daintmsk; /* Device All Endpoints Interrupt Mask */ u8 res4[224]; - struct s3c_dev_in_endp in_endp[16]; - struct s3c_dev_out_endp out_endp[16]; + struct dwc2_dev_in_endp in_endp[16]; + struct dwc2_dev_out_endp out_endp[16]; u8 res5[768]; struct ep_fifo ep[16]; }; |