diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-12-14 11:44:46 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-12-21 13:18:08 +0300 |
commit | 8b78de956f31c5f210d190766cd23b9f1f6a8ee6 (patch) | |
tree | 5fda8fbf9503ce437b8585b0bfa076f6aa60f188 /drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c | |
parent | b5af33df50e91f7c79c050ec73062577b9d0dae3 (diff) | |
download | linux-8b78de956f31c5f210d190766cd23b9f1f6a8ee6.tar.xz |
pinctrl: uniphier: constify uniphier_pinctrl_socdata
These are constant data.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c')
-rw-r--r-- | drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c b/drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c index 583a2cdb5e5e..919b9bec2027 100644 --- a/drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c +++ b/drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c @@ -1222,7 +1222,7 @@ static int uniphier_pro4_get_gpio_muxval(unsigned int pin, return 7; } -static struct uniphier_pinctrl_socdata uniphier_pro4_pindata = { +static const struct uniphier_pinctrl_socdata uniphier_pro4_pindata = { .pins = uniphier_pro4_pins, .npins = ARRAY_SIZE(uniphier_pro4_pins), .groups = uniphier_pro4_groups, |