diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-09-10 07:53:42 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-13 11:24:24 -0400 |
commit | 9cdd8e11c2a2f4b7553823240dc16a35ffa243e9 (patch) | |
tree | 5607bcab6cd263744cbb772b3c930454e040b5e1 /drivers/usb/host/ohci-at91.c | |
parent | b175b38a0fa6767e1eae2e94b9d5f81d7342850a (diff) |
USB: host: ohci-at91: fix non static symbol warning
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>
Diffstat (limited to 'drivers/usb/host/ohci-at91.c')
-rw-r--r-- | drivers/usb/host/ohci-at91.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci-at91.c index 31102170c7a0..5b5880c0ae19 100644 --- 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) | |||
138 | 138 | ||
139 | static void usb_hcd_at91_remove (struct usb_hcd *, struct platform_device *); | 139 | static void usb_hcd_at91_remove (struct usb_hcd *, struct platform_device *); |
140 | 140 | ||
141 | struct regmap *at91_dt_syscon_sfr(void) | 141 | static struct regmap *at91_dt_syscon_sfr(void) |
142 | { | 142 | { |
143 | struct regmap *regmap; | 143 | struct regmap *regmap; |
144 | 144 | ||