summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-05-07 18:09:01 +0900
committerLinus Walleij <linus.walleij@linaro.org>2014-05-09 11:04:08 +0200
commita49f2e748de7b163c9e5099edf5f6f9f6fc70dbb (patch)
tree1e32337b1be0cd1d06ca16b649d0b8378bb08e3c /drivers/gpio
parent9992bc95e1dcc4f2395fd5511683eaeb079facf7 (diff)
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 'drivers/gpio')
-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", },
{ },
};