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

Marek Vasut marek.vasut at gmail.com
Sun Aug 19 18:44:20 CEST 2012


Dear Lucas Stach,

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

Applied, thanks

> 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);
> 
>  /*

Best regards,
Marek Vasut


More information about the U-Boot mailing list