From: Wei Yongjun Date: Thu, 2 Feb 2017 03:30:28 +0000 (-0600) Subject: usb: musb: dsps: make dsps_musb_clear_ep_rxintr() static X-Git-Tag: v5.15~11844^2~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4ab53a69257015381f0dba18cb928902e753758c;p=platform%2Fkernel%2Flinux-starfive.git usb: musb: dsps: make dsps_musb_clear_ep_rxintr() static Fixes the following sparse warning: drivers/usb/musb/musb_dsps.c:270:6: warning: symbol 'dsps_musb_clear_ep_rxintr' was not declared. Should it be static? Signed-off-by: Wei Yongjun Signed-off-by: Bin Liu Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c index 92cf68f..c171a0f 100644 --- a/drivers/usb/musb/musb_dsps.c +++ b/drivers/usb/musb/musb_dsps.c @@ -293,7 +293,7 @@ static void otg_timer(unsigned long _musb) pm_runtime_put_autosuspend(dev); } -void dsps_musb_clear_ep_rxintr(struct musb *musb, int epnum) +static void dsps_musb_clear_ep_rxintr(struct musb *musb, int epnum) { u32 epintr; struct dsps_glue *glue = dev_get_drvdata(musb->controller->parent);