summaryrefslogtreecommitdiff
path: root/board/altera
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-12-04 02:26:33 +0100
committerMarek Vasut <marex@denx.de>2015-12-17 21:54:40 +0100
commita4bb9b3636fe6dfd1cadaf34c42f4fb3b1ebe46c (patch)
tree8cd07485eb54751e080e0f216d2595fd1fa1834a /board/altera
parentc0982871df3ea6af1658cbf0f2fe38938b1780c7 (diff)
downloadu-boot-imx-a4bb9b3636fe6dfd1cadaf34c42f4fb3b1ebe46c.zip
u-boot-imx-a4bb9b3636fe6dfd1cadaf34c42f4fb3b1ebe46c.tar.gz
u-boot-imx-a4bb9b3636fe6dfd1cadaf34c42f4fb3b1ebe46c.tar.bz2
usb: s3c-otg: Rename s3c_udc_probe() function
The driver is actually for the Designware DWC2 controller. This patch is the second and final to rename global symbol, the s3c_udc_probe() function. The rename is done automatically: $ sed -i "s/s3c_udc_probe/dwc2_udc_probe/g" \ `git grep s3c_udc_probe | cut -d : -f 1` Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'board/altera')
-rw-r--r--board/altera/arria5-socdk/socfpga.c2
-rw-r--r--board/altera/cyclone5-socdk/socfpga.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/board/altera/arria5-socdk/socfpga.c b/board/altera/arria5-socdk/socfpga.c
index 10f8f68..e640d8c 100644
--- a/board/altera/arria5-socdk/socfpga.c
+++ b/board/altera/arria5-socdk/socfpga.c
@@ -75,7 +75,7 @@ struct dwc2_plat_otg_data socfpga_otg_data = {
int board_usb_init(int index, enum usb_init_type init)
{
- return s3c_udc_probe(&socfpga_otg_data);
+ return dwc2_udc_probe(&socfpga_otg_data);
}
int g_dnl_board_usb_cable_connected(void)
diff --git a/board/altera/cyclone5-socdk/socfpga.c b/board/altera/cyclone5-socdk/socfpga.c
index 10f8f68..e640d8c 100644
--- a/board/altera/cyclone5-socdk/socfpga.c
+++ b/board/altera/cyclone5-socdk/socfpga.c
@@ -75,7 +75,7 @@ struct dwc2_plat_otg_data socfpga_otg_data = {
int board_usb_init(int index, enum usb_init_type init)
{
- return s3c_udc_probe(&socfpga_otg_data);
+ return dwc2_udc_probe(&socfpga_otg_data);
}
int g_dnl_board_usb_cable_connected(void)