summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-grgpio.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-05-07 11:03:30 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-05-09 10:57:36 +0200
commitf77b644859599ec77220b9c4d061ed71d2751107 (patch)
treed1e864169cd506cb181801286699d071275746d2 /drivers/gpio/gpio-grgpio.c
parentgpio: zevio: remove unnecessary OOM messages (diff)
downloadlinux-f77b644859599ec77220b9c4d061ed71d2751107.tar.xz
linux-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 <jg1.han@samsung.com> Acked-by: Andreas Larsson <andreas@gaisler.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to '')
-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"},
{},