summaryrefslogtreecommitdiff
path: root/board/samsung/trats2
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-12-04 02:23:29 +0100
committerMarek Vasut <marex@denx.de>2015-12-17 21:54:40 +0100
commitc0982871df3ea6af1658cbf0f2fe38938b1780c7 (patch)
tree6cfd5271d69ff50ea166173a40b1a73f1d95da94 /board/samsung/trats2
parente30824f439c81070d97cff3f9a31952b58eb9ad3 (diff)
downloadu-boot-imx-c0982871df3ea6af1658cbf0f2fe38938b1780c7.zip
u-boot-imx-c0982871df3ea6af1658cbf0f2fe38938b1780c7.tar.gz
u-boot-imx-c0982871df3ea6af1658cbf0f2fe38938b1780c7.tar.bz2
usb: s3c-otg: Rename struct s3c_plat_otg_data
The driver is actually for the Designware DWC2 controller. This patch is the first to rename global symbol, the struct s3c_plat_otg_data. The rename is done automatically: $ sed -i "s/s3c_plat_otg_data/dwc2_plat_otg_data/g" \ `git grep s3c_plat_otg_data | cut -d : -f 1` Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'board/samsung/trats2')
-rw-r--r--board/samsung/trats2/trats2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/samsung/trats2/trats2.c b/board/samsung/trats2/trats2.c
index a737749..e52a817 100644
--- a/board/samsung/trats2/trats2.c
+++ b/board/samsung/trats2/trats2.c
@@ -303,7 +303,7 @@ static int s5pc210_phy_control(int on)
return 0;
}
-struct s3c_plat_otg_data s5pc210_otg_data = {
+struct dwc2_plat_otg_data s5pc210_otg_data = {
.phy_control = s5pc210_phy_control,
.regs_phy = EXYNOS4X12_USBPHY_BASE,
.regs_otg = EXYNOS4X12_USBOTG_BASE,