From: Wei Yongjun Date: Sat, 10 Sep 2016 11:53:42 +0000 (+0000) Subject: USB: host: ohci-at91: fix non static symbol warning X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9cdd8e11c2a2f4b7553823240dc16a35ffa243e9;p=linux-beck.git 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 Signed-off-by: Greg Kroah-Hartman --- 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) static void usb_hcd_at91_remove (struct usb_hcd *, struct platform_device *); -struct regmap *at91_dt_syscon_sfr(void) +static struct regmap *at91_dt_syscon_sfr(void) { struct regmap *regmap;