aboutsummaryrefslogtreecommitdiff
path: root/drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c
diff options
context:
space:
mode:
authorMasahiro Yamada2018-12-14 17:44:46 +0900
committerLinus Walleij2018-12-21 11:18:08 +0100
commit8b78de956f31c5f210d190766cd23b9f1f6a8ee6 (patch)
tree5fda8fbf9503ce437b8585b0bfa076f6aa60f188 /drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c
parentb5af33df50e91f7c79c050ec73062577b9d0dae3 (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.c2
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,