aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-palmas.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-16 15:59:09 -0400
committerLinus Walleij <linus.walleij@linaro.org>2015-03-27 04:58:35 -0400
commitbaa9946e32f9f26e740721c1f972de87c095baa9 (patch)
treef3c15cccc5b04181657e6e1328e331b815117b5a /drivers/pinctrl/pinctrl-palmas.c
parent4024efb4047df0f317065571bd6ee9de3ab79512 (diff)
pinctrl: constify of_device_id array
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick <fabf@skynet.be> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Patrice Chotard <patrice.chotard@st.com> Acked-by: Maxime Coquelin <maxime.coquelin@st.com> Acked-by: Hongzhou Yang <hongzhou.yang@mediatek.com> Acked-by: Lee Jones <lee@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-palmas.c')
-rw-r--r--drivers/pinctrl/pinctrl-palmas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-palmas.c b/drivers/pinctrl/pinctrl-palmas.c
index 26461e30f0ae..2631df0504bd 100644
--- a/drivers/pinctrl/pinctrl-palmas.c
+++ b/drivers/pinctrl/pinctrl-palmas.c
@@ -987,7 +987,7 @@ static struct palmas_pinctrl_data tps80036_pinctrl_data = {
987 .num_pin_groups = ARRAY_SIZE(tps80036_pingroups), 987 .num_pin_groups = ARRAY_SIZE(tps80036_pingroups),
988}; 988};
989 989
990static struct of_device_id palmas_pinctrl_of_match[] = { 990static const struct of_device_id palmas_pinctrl_of_match[] = {
991 { .compatible = "ti,palmas-pinctrl", .data = &tps65913_pinctrl_data}, 991 { .compatible = "ti,palmas-pinctrl", .data = &tps65913_pinctrl_data},
992 { .compatible = "ti,tps65913-pinctrl", .data = &tps65913_pinctrl_data}, 992 { .compatible = "ti,tps65913-pinctrl", .data = &tps65913_pinctrl_data},
993 { .compatible = "ti,tps80036-pinctrl", .data = &tps80036_pinctrl_data}, 993 { .compatible = "ti,tps80036-pinctrl", .data = &tps80036_pinctrl_data},