diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-12-14 17:44:46 +0900 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-12-21 11:18:08 +0100 |
commit | 8b78de956f31c5f210d190766cd23b9f1f6a8ee6 (patch) | |
tree | 5fda8fbf9503ce437b8585b0bfa076f6aa60f188 /drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c | |
parent | pinctrl: mediatek: improve Kconfig dependencies (diff) | |
download | linux-dev-8b78de956f31c5f210d190766cd23b9f1f6a8ee6.tar.xz linux-dev-8b78de956f31c5f210d190766cd23b9f1f6a8ee6.zip |
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-pxs2.c')
-rw-r--r-- | drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c b/drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c index 436e23cda615..169bb4489bc7 100644 --- a/drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c +++ b/drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c @@ -950,7 +950,7 @@ static int uniphier_pxs2_get_gpio_muxval(unsigned int pin, return 15; } -static struct uniphier_pinctrl_socdata uniphier_pxs2_pindata = { +static const struct uniphier_pinctrl_socdata uniphier_pxs2_pindata = { .pins = uniphier_pxs2_pins, .npins = ARRAY_SIZE(uniphier_pxs2_pins), .groups = uniphier_pxs2_groups, |