diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 11:06:50 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-05-09 11:01:24 +0200 |
commit | 722782fee83b716bc1e162311f8f486aeb4edc45 (patch) | |
tree | bbfed19536ebd58a4da11f5b59b957923d982c64 /drivers/gpio | |
parent | gpio: mvebu: Make of_device_id array const (diff) | |
download | linux-722782fee83b716bc1e162311f8f486aeb4edc45.tar.xz linux-722782fee83b716bc1e162311f8f486aeb4edc45.zip |
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.c | 2 |
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 = { .ngpio = 16, }; -static struct of_device_id of_palmas_gpio_match[] = { +static const struct of_device_id of_palmas_gpio_match[] = { { .compatible = "ti,palmas-gpio", .data = &palmas_dev_data,}, { .compatible = "ti,tps65913-gpio", .data = &palmas_dev_data,}, { .compatible = "ti,tps65914-gpio", .data = &palmas_dev_data,}, |