Commit aea1dd4b authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Linus Walleij

pinctrl: armada-37xx: add static to local data

Detected by sparse.
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 37f92c18
...@@ -190,14 +190,14 @@ static struct armada_37xx_pin_group armada_37xx_sb_groups[] = { ...@@ -190,14 +190,14 @@ static struct armada_37xx_pin_group armada_37xx_sb_groups[] = {
"mii", "mii_err"), "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, .nr_pins = 36,
.name = "GPIO1", .name = "GPIO1",
.groups = armada_37xx_nb_groups, .groups = armada_37xx_nb_groups,
.ngroups = ARRAY_SIZE(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, .nr_pins = 30,
.name = "GPIO2", .name = "GPIO2",
.groups = armada_37xx_sb_groups, .groups = armada_37xx_sb_groups,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment