projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b175b38
)
USB: host: ohci-at91: fix non static symbol warning
author
Wei Yongjun
<weiyongjun1@huawei.com>
Sat, 10 Sep 2016 11:53:42 +0000
(11:53 +0000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 13 Sep 2016 15:24:24 +0000
(17:24 +0200)
Fixes the following sparse warning:
drivers/usb/host/ohci-at91.c:141:15: warning:
symbol 'at91_dt_syscon_sfr' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-at91.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/ohci-at91.c
b/drivers/usb/host/ohci-at91.c
index 31102170c7a0bf07f4d8da0a6b26ea02e18b521b..5b5880c0ae1916d14c1ce997b8be9d3c2a9d3798 100644
(file)
--- a/
drivers/usb/host/ohci-at91.c
+++ b/
drivers/usb/host/ohci-at91.c
@@
-138,7
+138,7
@@
static void at91_stop_hc(struct platform_device *pdev)
static void usb_hcd_at91_remove (struct usb_hcd *, struct platform_device *);
-struct regmap *at91_dt_syscon_sfr(void)
+st
atic st
ruct regmap *at91_dt_syscon_sfr(void)
{
struct regmap *regmap;