From: Jingoo Han Date: Wed, 7 May 2014 09:03:30 +0000 (+0900) Subject: gpio: grgpio: Make of_device_id array const X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f77b644859599ec77220b9c4d061ed71d2751107;p=linux-beck.git 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 Acked-by: Andreas Larsson Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/gpio-grgpio.c b/drivers/gpio/gpio-grgpio.c index 84d2478ec294..3c3f515b7916 100644 --- a/drivers/gpio/gpio-grgpio.c +++ b/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"}, {},