[PATCH 4/6] Rename function ulpi_init to ulpi_detect

Alexander Shiyan shc_work at mail.ru
Sat Mar 24 10:00:38 EDT 2012


Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
 drivers/usb/otg/ulpi.c |    4 ++--
 include/usb/ulpi.h     |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/usb/otg/ulpi.c b/drivers/usb/otg/ulpi.c
index 5d52511..6d00ff0 100644
--- a/drivers/usb/otg/ulpi.c
+++ b/drivers/usb/otg/ulpi.c
@@ -134,7 +134,7 @@ static struct ulpi_info ulpi_ids[] = {
 	ULPI_INFO(ULPI_ID(0x0424, 0x0006), "SMSC USB331x"),
 };
 
-int ulpi_init(void __iomem *view)
+int ulpi_probe(void __iomem *view)
 {
 	int i, vid, pid, ret;
 	uint32_t ulpi_id = 0;
@@ -160,7 +160,7 @@ int ulpi_init(void __iomem *view)
 
 	return -1;
 }
-EXPORT_SYMBOL(ulpi_init);
+EXPORT_SYMBOL(ulpi_probe);
 
 int ulpi_set_vbus(void __iomem *view, int on)
 {
diff --git a/include/usb/ulpi.h b/include/usb/ulpi.h
index 75197e1..235d006 100644
--- a/include/usb/ulpi.h
+++ b/include/usb/ulpi.h
@@ -4,7 +4,7 @@
 int ulpi_set(u8 bits, int reg, void __iomem *view);
 int ulpi_clear(u8 bits, int reg, void __iomem *view);
 int ulpi_read(int reg, void __iomem *view);
-int ulpi_init(void __iomem *view);
+int ulpi_probe(void __iomem *view);
 int ulpi_set_vbus(void __iomem *view, int on);
 
 /* ULPI register addresses */
-- 
1.7.3.4




More information about the barebox mailing list