gpio: grgpio: Make of_device_id array const
authorJingoo Han <jg1.han@samsung.com>
Wed, 7 May 2014 09:03:30 +0000 (18:03 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 9 May 2014 08:57:36 +0000 (10:57 +0200)
Make of_device_id array const, because all OF functions
handle it as const.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-grgpio.c

index 84d2478..3c3f515 100644 (file)
@@ -481,7 +481,7 @@ out:
        return ret;
 }
 
-static struct of_device_id grgpio_match[] = {
+static const struct of_device_id grgpio_match[] = {
        {.name = "GAISLER_GPIO"},
        {.name = "01_01a"},
        {},