diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-08-04 13:47:00 +0900 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-08-14 15:01:58 +0200 |
commit | aea1dd4b203497eace17cd6c0bfe87ef613156bc (patch) | |
tree | 7a5042730b66bb951ff242e00c2c4b499d3a945d /drivers/pinctrl/mvebu | |
parent | 37f92c18a2d68d8bd6058f54eea0daab4cb00e98 (diff) | |
download | lwn-aea1dd4b203497eace17cd6c0bfe87ef613156bc.tar.gz lwn-aea1dd4b203497eace17cd6c0bfe87ef613156bc.zip |
pinctrl: armada-37xx: add static to local data
Detected by sparse.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/mvebu')
-rw-r--r-- | drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c index 0c6d7812d6fd..4b61f25f13b7 100644 --- a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c +++ b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c @@ -190,14 +190,14 @@ static struct armada_37xx_pin_group armada_37xx_sb_groups[] = { "mii", "mii_err"), }; -const struct armada_37xx_pin_data armada_37xx_pin_nb = { +static const struct armada_37xx_pin_data armada_37xx_pin_nb = { .nr_pins = 36, .name = "GPIO1", .groups = armada_37xx_nb_groups, .ngroups = ARRAY_SIZE(armada_37xx_nb_groups), }; -const struct armada_37xx_pin_data armada_37xx_pin_sb = { +static const struct armada_37xx_pin_data armada_37xx_pin_sb = { .nr_pins = 30, .name = "GPIO2", .groups = armada_37xx_sb_groups, |