提交 f77b6448 编写于 作者: J Jingoo Han 提交者: 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: NJingoo Han <jg1.han@samsung.com>
Acked-by: NAndreas Larsson <andreas@gaisler.com>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册