[U-Boot] [PATCH] usb: fix ulpi_set_vbus prototype

Lucas Stach dev at lynxeye.de
Sun Aug 19 18:22:07 CEST 2012


Match the name of the header prototype with the actual
implementation.

Signed-off-by: Lucas Stach <dev at lynxeye.de>
---
 include/usb/ulpi.h | 2 +-
 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)

diff --git a/include/usb/ulpi.h b/include/usb/ulpi.h
index 4a23fd2..9a75c24 100644
--- a/include/usb/ulpi.h
+++ b/include/usb/ulpi.h
@@ -61,7 +61,7 @@ int ulpi_select_transceiver(struct ulpi_viewport *ulpi_vp, unsigned speed);
  *
  * returns 0 on success, ULPI_ERROR on failure.
  */
-int ulpi_enable_vbus(struct ulpi_viewport *ulpi_vp,
+int ulpi_set_vbus(struct ulpi_viewport *ulpi_vp,
 			int on, int ext_power, int ext_ind);
 
 /*
-- 
1.7.11.4



More information about the U-Boot mailing list