Skip to content

Commit

Permalink
USB: host: ohci-at91: fix non static symbol warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wei Yongjun authored and Greg Kroah-Hartman committed Sep 13, 2016
1 parent b175b38 commit 9cdd8e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/host/ohci-at91.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 9cdd8e1

Please sign in to comment.