Browse Source

gpio: grgpio: 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>
Acked-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Jingoo Han 11 years ago
parent
commit
f77b644859
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/gpio/gpio-grgpio.c

+ 1 - 1
drivers/gpio/gpio-grgpio.c

@@ -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"},
 	{},