Commit f77b6448 authored by Jingoo Han's avatar Jingoo Han Committed by Linus Walleij

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: default avatarJingoo Han <jg1.han@samsung.com>
Acked-by: default avatarAndreas Larsson <andreas@gaisler.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 50908d61
...@@ -481,7 +481,7 @@ static int grgpio_remove(struct platform_device *ofdev) ...@@ -481,7 +481,7 @@ static int grgpio_remove(struct platform_device *ofdev)
return ret; return ret;
} }
static struct of_device_id grgpio_match[] = { static const struct of_device_id grgpio_match[] = {
{.name = "GAISLER_GPIO"}, {.name = "GAISLER_GPIO"},
{.name = "01_01a"}, {.name = "01_01a"},
{}, {},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment