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>
This commit is contained in:
parent
50908d61ea
commit
f77b644859
1 changed files with 1 additions and 1 deletions
|
@ -481,7 +481,7 @@ static int grgpio_remove(struct platform_device *ofdev)
|
|||
return ret;
|
||||
}
|
||||
|
||||
static struct of_device_id grgpio_match[] = {
|
||||
static const struct of_device_id grgpio_match[] = {
|
||||
{.name = "GAISLER_GPIO"},
|
||||
{.name = "01_01a"},
|
||||
{},
|
||||
|
|
Loading…
Reference in a new issue