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

Match the name of the header prototype with the actual implementation.
Signed-off-by: Lucas Stach dev@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);
/*

Dear Lucas Stach,
Match the name of the header prototype with the actual implementation.
Applied, thanks
Signed-off-by: Lucas Stach dev@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);
/*
Best regards, Marek Vasut

On 08/19/12 19:22, Lucas Stach wrote:
Match the name of the header prototype with the actual implementation.
Signed-off-by: Lucas Stach dev@lynxeye.de
Good catch! Thanks!
Marek, if it is not too late then:
Acked-by: Igor Grinberg grinberg@compulab.co.il
If it is too late, then don't bother...

Dear Igor Grinberg,
On 08/19/12 19:22, Lucas Stach wrote:
Match the name of the header prototype with the actual implementation.
Signed-off-by: Lucas Stach dev@lynxeye.de
Good catch! Thanks!
Marek, if it is not too late then:
Acked-by: Igor Grinberg grinberg@compulab.co.il
If it is too late, then don't bother...
Already applied it, but thanks!
Best regards, Marek Vasut
participants (3)
-
Igor Grinberg
-
Lucas Stach
-
Marek Vasut