diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2017-02-02 04:30:28 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-03 10:05:11 +0100 |
commit | 4ab53a69257015381f0dba18cb928902e753758c (patch) | |
tree | e13f297ce65df15513c3cb9143948379ae315cae /drivers/usb/musb | |
parent | usb: musb: sunxi: add support for the variant in H3/V3s SoC (diff) | |
download | linux-4ab53a69257015381f0dba18cb928902e753758c.tar.xz linux-4ab53a69257015381f0dba18cb928902e753758c.zip |
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 <weiyongjun1@huawei.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r-- | drivers/usb/musb/musb_dsps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c index 92cf68f8f2c1..c171a0f13bc3 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); |