]> git.karo-electronics.de Git - linux-beck.git/commitdiff
gpio: zevio: Make of_device_id array const
authorJingoo Han <jg1.han@samsung.com>
Wed, 7 May 2014 09:09:01 +0000 (18:09 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 9 May 2014 09:04:08 +0000 (11:04 +0200)
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>
drivers/gpio/gpio-zevio.c

index 4c173ad4c23c195966ac011efb9d7f75cd05e865..54e54e4cc6c44715206860022797e2b24792b8fa 100644 (file)
@@ -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", },
        { },
 };