Messages in this thread | | | Subject | Re: [PATCH 12/32] usb: gadget: udc: lpc32xx_udc: Staticify 2 local functions | From | Vladimir Zapolskiy <> | Date | Tue, 7 Jul 2020 09:16:18 +0300 |
| |
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@kernel.org> > Cc: Vladimir Zapolskiy <vz@mleia.com> > Cc: Sylvain Lemieux <slemieux.tyco@gmail.com> > Cc: Kevin Wells <kevin.wells@nxp.com> > Cc: Roland Stigge <stigge@antcom.de> > Signed-off-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Vladimir Zapolskiy <vz@mleia.com>
-- Best wishes, Vladimir
| |