Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ab53a69 authored by Wei Yongjun's avatar Wei Yongjun Committed by Greg Kroah-Hartman
Browse files

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: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarBin Liu <b-liu@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c1fce66e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -293,7 +293,7 @@ static void otg_timer(unsigned long _musb)
	pm_runtime_put_autosuspend(dev);
	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;
	u32 epintr;
	struct dsps_glue *glue = dev_get_drvdata(musb->controller->parent);
	struct dsps_glue *glue = dev_get_drvdata(musb->controller->parent);