pinctrl: armada-37xx: add static to local data
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 4 Aug 2017 04:47:00 +0000 (13:47 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Aug 2017 13:01:58 +0000 (15:01 +0200)
Detected by sparse.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c

index 0c6d7812d6fd981b95f9d526cb9d6645e4b7855d..4b61f25f13b7e64f7ecf4d9b5c0e7c44cb7e3c9b 100644 (file)
@@ -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,