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>
This commit is contained in:
parent
37f92c18a2
commit
aea1dd4b20
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue