[U-Boot] [PATCH 04/11] usb: dwc3: make dwc3_set_mode to static

Kishon Vijay Abraham I kishon at ti.com
Mon Feb 23 15:18:30 CET 2015


Hi,

On Monday 23 February 2015 07:32 PM, Lukasz Majewski wrote:
> From: Joonyoung Shim <jy0922.shim at samsung.com>

commit message please.

-Kishon
>
> Signed-off-by: Joonyoung Shim <jy0922.shim at samsung.com>
> ---
>   drivers/usb/dwc3/core.c | 2 +-
>   drivers/usb/dwc3/core.h | 1 -
>   2 files changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
> index 4c3637f..d690870 100644
> --- a/drivers/usb/dwc3/core.c
> +++ b/drivers/usb/dwc3/core.c
> @@ -32,7 +32,7 @@
>   static LIST_HEAD(dwc3_list);
>   /* -------------------------------------------------------------------------- */
>
> -void dwc3_set_mode(struct dwc3 *dwc, u32 mode)
> +static void dwc3_set_mode(struct dwc3 *dwc, u32 mode)
>   {
>   	u32 reg;
>
> diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
> index 3355468..45e431b 100644
> --- a/drivers/usb/dwc3/core.h
> +++ b/drivers/usb/dwc3/core.h
> @@ -988,7 +988,6 @@ struct dwc3_gadget_ep_cmd_params {
>   #define DWC3_HAS_OTG			BIT(3)
>
>   /* prototypes */
> -void dwc3_set_mode(struct dwc3 *dwc, u32 mode);
>   int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc);
>
>   #ifdef CONFIG_USB_DWC3_HOST
>


More information about the U-Boot mailing list