summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-zevio.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-05-07 11:09:01 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-05-09 11:04:08 +0200
commita49f2e748de7b163c9e5099edf5f6f9f6fc70dbb (patch)
tree1e32337b1be0cd1d06ca16b649d0b8378bb08e3c /drivers/gpio/gpio-zevio.c
parentgpio: xilinx: Make of_device_id array const (diff)
downloadlinux-a49f2e748de7b163c9e5099edf5f6f9f6fc70dbb.tar.xz
linux-a49f2e748de7b163c9e5099edf5f6f9f6fc70dbb.zip
gpio: zevio: 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 '')
-rw-r--r--drivers/gpio/gpio-zevio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-zevio.c b/drivers/gpio/gpio-zevio.c
index 4c173ad4c23c..54e54e4cc6c4 100644
--- a/drivers/gpio/gpio-zevio.c
+++ b/drivers/gpio/gpio-zevio.c
@@ -202,7 +202,7 @@ static int zevio_gpio_probe(struct platform_device *pdev)
return 0;
}
-static struct of_device_id zevio_gpio_of_match[] = {
+static const struct of_device_id zevio_gpio_of_match[] = {
{ .compatible = "lsi,zevio-gpio", },
{ },
};