diff options
author | Masahiro Yamada | 2018-12-14 17:44:46 +0900 |
---|---|---|
committer | Linus Walleij | 2018-12-21 11:18:08 +0100 |
commit | 8b78de956f31c5f210d190766cd23b9f1f6a8ee6 (patch) | |
tree | 5fda8fbf9503ce437b8585b0bfa076f6aa60f188 /drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c | |
parent | b5af33df50e91f7c79c050ec73062577b9d0dae3 (diff) |
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-ld20.c')
-rw-r--r-- | drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c b/drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c index 916709133a00..7fbc9652b134 100644 --- a/drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c +++ b/drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c @@ -785,7 +785,7 @@ static int uniphier_ld20_get_gpio_muxval(unsigned int pin, return 15; } -static struct uniphier_pinctrl_socdata uniphier_ld20_pindata = { +static const struct uniphier_pinctrl_socdata uniphier_ld20_pindata = { .pins = uniphier_ld20_pins, .npins = ARRAY_SIZE(uniphier_ld20_pins), .groups = uniphier_ld20_groups, |