summaryrefslogtreecommitdiff
path: root/board
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
parentc0982871df3ea6af1658cbf0f2fe38938b1780c7 (diff)
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')
-rw-r--r--board/altera/arria5-socdk/socfpga.c2
-rw-r--r--board/altera/cyclone5-socdk/socfpga.c2
-rw-r--r--board/broadcom/bcm28155_ap/bcm28155_ap.c4
-rw-r--r--board/denx/mcvevk/socfpga.c2
-rw-r--r--board/ebv/socrates/socfpga.c2
-rw-r--r--board/samsung/goni/goni.c2
-rw-r--r--board/samsung/odroid/odroid.c2
-rw-r--r--board/samsung/trats/trats.c2
-rw-r--r--board/samsung/trats2/trats2.c2
-rw-r--r--board/samsung/universal_c210/universal.c2
-rw-r--r--board/terasic/sockit/socfpga.c2
11 files changed, 12 insertions, 12 deletions
diff --git a/board/altera/arria5-socdk/socfpga.c b/board/altera/arria5-socdk/socfpga.c
index 10f8f68338..e640d8cccf 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 10f8f68338..e640d8cccf 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)
diff --git a/board/broadcom/bcm28155_ap/bcm28155_ap.c b/board/broadcom/bcm28155_ap/bcm28155_ap.c
index e517db3a3b..09397fc55b 100644
--- a/board/broadcom/bcm28155_ap/bcm28155_ap.c
+++ b/board/broadcom/bcm28155_ap/bcm28155_ap.c
@@ -101,8 +101,8 @@ static struct dwc2_plat_otg_data bcm_otg_data = {
int board_usb_init(int index, enum usb_init_type init)
{
- debug("%s: performing s3c_udc_probe\n", __func__);
- return s3c_udc_probe(&bcm_otg_data);
+ debug("%s: performing dwc2_udc_probe\n", __func__);
+ return dwc2_udc_probe(&bcm_otg_data);
}
int g_dnl_bind_fixup(struct usb_device_descriptor *dev, const char *name)
diff --git a/board/denx/mcvevk/socfpga.c b/board/denx/mcvevk/socfpga.c
index f27b64e80e..3870b0b2af 100644
--- a/board/denx/mcvevk/socfpga.c
+++ b/board/denx/mcvevk/socfpga.c
@@ -35,7 +35,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/ebv/socrates/socfpga.c b/board/ebv/socrates/socfpga.c
index 10f8f68338..e640d8cccf 100644
--- a/board/ebv/socrates/socfpga.c
+++ b/board/ebv/socrates/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/samsung/goni/goni.c b/board/samsung/goni/goni.c
index 2ba556ef33..2725a46858 100644
--- a/board/samsung/goni/goni.c
+++ b/board/samsung/goni/goni.c
@@ -193,7 +193,7 @@ struct dwc2_plat_otg_data s5pc110_otg_data = {
int board_usb_init(int index, enum usb_init_type init)
{
debug("USB_udc_probe\n");
- return s3c_udc_probe(&s5pc110_otg_data);
+ return dwc2_udc_probe(&s5pc110_otg_data);
}
#endif
diff --git a/board/samsung/odroid/odroid.c b/board/samsung/odroid/odroid.c
index 58cbb72e41..a3ee159d3e 100644
--- a/board/samsung/odroid/odroid.c
+++ b/board/samsung/odroid/odroid.c
@@ -510,6 +510,6 @@ int board_usb_init(int index, enum usb_init_type init)
}
#endif
debug("USB_udc_probe\n");
- return s3c_udc_probe(&s5pc210_otg_data);
+ return dwc2_udc_probe(&s5pc210_otg_data);
}
#endif
diff --git a/board/samsung/trats/trats.c b/board/samsung/trats/trats.c
index 3a553c110b..6f711a8c64 100644
--- a/board/samsung/trats/trats.c
+++ b/board/samsung/trats/trats.c
@@ -430,7 +430,7 @@ struct dwc2_plat_otg_data s5pc210_otg_data = {
int board_usb_init(int index, enum usb_init_type init)
{
debug("USB_udc_probe\n");
- return s3c_udc_probe(&s5pc210_otg_data);
+ return dwc2_udc_probe(&s5pc210_otg_data);
}
int g_dnl_board_usb_cable_connected(void)
diff --git a/board/samsung/trats2/trats2.c b/board/samsung/trats2/trats2.c
index e52a8173ca..dd7a606838 100644
--- a/board/samsung/trats2/trats2.c
+++ b/board/samsung/trats2/trats2.c
@@ -314,7 +314,7 @@ struct dwc2_plat_otg_data s5pc210_otg_data = {
int board_usb_init(int index, enum usb_init_type init)
{
debug("USB_udc_probe\n");
- return s3c_udc_probe(&s5pc210_otg_data);
+ return dwc2_udc_probe(&s5pc210_otg_data);
}
int g_dnl_board_usb_cable_connected(void)
diff --git a/board/samsung/universal_c210/universal.c b/board/samsung/universal_c210/universal.c
index 747d556dd3..0c1b9d820a 100644
--- a/board/samsung/universal_c210/universal.c
+++ b/board/samsung/universal_c210/universal.c
@@ -191,7 +191,7 @@ struct dwc2_plat_otg_data s5pc210_otg_data = {
int board_usb_init(int index, enum usb_init_type init)
{
debug("USB_udc_probe\n");
- return s3c_udc_probe(&s5pc210_otg_data);
+ return dwc2_udc_probe(&s5pc210_otg_data);
}
int exynos_early_init_f(void)
diff --git a/board/terasic/sockit/socfpga.c b/board/terasic/sockit/socfpga.c
index 10f8f68338..e640d8cccf 100644
--- a/board/terasic/sockit/socfpga.c
+++ b/board/terasic/sockit/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)