aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-grgpio.c
diff options
context:
space:
mode:
authorJingoo Han <[email protected]>2014-05-07 09:03:30 +0000
committerLinus Walleij <[email protected]>2014-05-09 08:57:36 +0000
commitf77b644859599ec77220b9c4d061ed71d2751107 (patch)
treed1e864169cd506cb181801286699d071275746d2 /drivers/gpio/gpio-grgpio.c
parentgpio: zevio: remove unnecessary OOM messages (diff)
downloadkernel-f77b644859599ec77220b9c4d061ed71d2751107.tar.gz
kernel-f77b644859599ec77220b9c4d061ed71d2751107.zip
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 <[email protected]> Acked-by: Andreas Larsson <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-grgpio.c')
-rw-r--r--drivers/gpio/gpio-grgpio.c2
1 files changed, 1 insertions, 1 deletions
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"},
{},