From: Jingoo Han Date: Wed, 7 May 2014 09:09:01 +0000 (+0900) Subject: gpio: zevio: Make of_device_id array const X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a49f2e748de7b163c9e5099edf5f6f9f6fc70dbb;p=linux-beck.git 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 Signed-off-by: Linus Walleij --- 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", }, { }, };