Re: [PATCH 12/32] usb: gadget: udc: lpc32xx_udc: Staticify 2 local functions

From: Vladimir Zapolskiy
Date: Tue Jul 07 2020 - 02:16:27 EST


On 7/6/20 4:33 PM, Lee Jones wrote:
> These are not used outside of this sourcefile, so make them static.
>
> Fixes the following W=1 kernel build warning(s):
>
> drivers/usb/gadget/udc/lpc32xx_udc.c:1929:6: warning: no previous prototype for âudc_send_in_zlpâ [-Wmissing-prototypes]
> 1929 | void udc_send_in_zlp(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep)
> | ^~~~~~~~~~~~~~~
> drivers/usb/gadget/udc/lpc32xx_udc.c:1943:6: warning: no previous prototype for âudc_handle_epsâ [-Wmissing-prototypes]
> 1943 | void udc_handle_eps(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep)
> | ^~~~~~~~~~~~~~
>
> Cc: Felipe Balbi <balbi@xxxxxxxxxx>
> Cc: Vladimir Zapolskiy <vz@xxxxxxxxx>
> Cc: Sylvain Lemieux <slemieux.tyco@xxxxxxxxx>
> Cc: Kevin Wells <kevin.wells@xxxxxxx>
> Cc: Roland Stigge <stigge@xxxxxxxxx>
> Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>

Acked-by: Vladimir Zapolskiy <vz@xxxxxxxxx>

--
Best wishes,
Vladimir