diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-07-11 22:24:57 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-07-29 23:35:31 +0200 |
commit | 8c4407de3be44c2a0ec3e316cd3e4a711bc2aaba (patch) | |
tree | 464d4a5e6c4c52dfb84f534515e01128449ea1d4 /drivers/pinctrl | |
parent | 674fa8daa8c922c42a84b6aa85bf5ddc616accf5 (diff) |
pinctrl: aspeed: Make aspeed_pinmux_ips static
Fix sparse warning:
drivers/pinctrl/aspeed/pinmux-aspeed.c:8:12: warning:
symbol 'aspeed_pinmux_ips' was not declared. Should it be static?
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190711142457.37028-1-yuehaibing@huawei.com
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r-- | drivers/pinctrl/aspeed/pinmux-aspeed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/aspeed/pinmux-aspeed.c b/drivers/pinctrl/aspeed/pinmux-aspeed.c index 5b0fe178ccf2..839c01b7953f 100644 --- a/drivers/pinctrl/aspeed/pinmux-aspeed.c +++ b/drivers/pinctrl/aspeed/pinmux-aspeed.c @@ -5,7 +5,7 @@ #include "pinmux-aspeed.h" -const char *const aspeed_pinmux_ips[] = { +static const char *const aspeed_pinmux_ips[] = { [ASPEED_IP_SCU] = "SCU", [ASPEED_IP_GFX] = "GFX", [ASPEED_IP_LPC] = "LPC", |