[PATCH 12/32] usb: gadget: udc: lpc32xx_udc: Staticify 2 local functions
Vladimir Zapolskiy
vz at mleia.com
Tue Jul 7 02:16:18 EDT 2020
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 at kernel.org>
> Cc: Vladimir Zapolskiy <vz at mleia.com>
> Cc: Sylvain Lemieux <slemieux.tyco at gmail.com>
> Cc: Kevin Wells <kevin.wells at nxp.com>
> Cc: Roland Stigge <stigge at antcom.de>
> Signed-off-by: Lee Jones <lee.jones at linaro.org>
Acked-by: Vladimir Zapolskiy <vz at mleia.com>
--
Best wishes,
Vladimir
More information about the linux-arm-kernel
mailing list