aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-05-07 05:06:50 -0400
committerLinus Walleij <linus.walleij@linaro.org>2014-05-09 05:01:24 -0400
commit722782fee83b716bc1e162311f8f486aeb4edc45 (patch)
treebbfed19536ebd58a4da11f5b59b957923d982c64 /drivers/gpio
parent271b17b69adcf813e3f7cfa8db5f3eaa7fb81cce (diff)
gpio: palmas: Make of_device_id array const
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-palmas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-palmas.c b/drivers/gpio/gpio-palmas.c
index a5ec6022e789..86bdbe362068 100644
--- a/drivers/gpio/gpio-palmas.c
+++ b/drivers/gpio/gpio-palmas.c
@@ -148,7 +148,7 @@ static const struct palmas_device_data tps80036_dev_data = {
148 .ngpio = 16, 148 .ngpio = 16,
149}; 149};
150 150
151static struct of_device_id of_palmas_gpio_match[] = { 151static const struct of_device_id of_palmas_gpio_match[] = {
152 { .compatible = "ti,palmas-gpio", .data = &palmas_dev_data,}, 152 { .compatible = "ti,palmas-gpio", .data = &palmas_dev_data,},
153 { .compatible = "ti,tps65913-gpio", .data = &palmas_dev_data,}, 153 { .compatible = "ti,tps65913-gpio", .data = &palmas_dev_data,},
154 { .compatible = "ti,tps65914-gpio", .data = &palmas_dev_data,}, 154 { .compatible = "ti,tps65914-gpio", .data = &palmas_dev_data,},