Skip to contentSkip to conversation

usb: fix ulpi_set_vbus prototype

PATCH New Lucas Stach 3 participants 4 messages Aug 19, 2012 – Aug 20, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: fix ulpi_set_vbus prototype

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

---
 include/usb/ulpi.h | 2 +-

1 Datei ge?ndert, 1 Zeile hinzugef?gt(+), 1 Zeile entfernt(-)

include/usb/ulpi.h +1 -1
index 4a23fd2..9a75c24 100644
@@ -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);
 
 /*
Signature · 1 line
1.7.11.4
Applied
#1 lore raw

PATCH 1/1 usb: fix ulpi_set_vbus prototype

Dear Lucas Stach,

Quoted 2 lines

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

Applied, thanks

Quoted 10 lines
---
 include/usb/ulpi.h | 2 +-

1 Datei ge?ndert, 1 Zeile hinzugef?gt(+), 1 Zeile entfernt(-)

include/usb/ulpi.h +0 -0
index 4a23fd2..9a75c24 100644

include/usb/ulpi.h int ulpi_select_transceiver(struct ulpi_viewport · line 67

Quoted 8 lines
include/usb/ulpi.h +1 -1
@@ -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);
 
 /*

Best regards,
Marek Vasut

#3 lore raw

PATCH 1/1 usb: fix ulpi_set_vbus prototype

Dear Igor Grinberg,

Quoted 6 lines · Lucas Stach
Quoted 4 lines

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

Quoted 7 lines

Good catch! Thanks!

Marek, if it is not too late then:

If it is too late, then don't bother...

Already applied it, but thanks!

Best regards,
Marek Vasut