Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 271b17b6 authored by Jingoo Han's avatar Jingoo Han Committed by Linus Walleij
Browse files

gpio: mvebu: 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>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent ac791804
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -535,7 +535,7 @@ static void mvebu_gpio_dbg_show(struct seq_file *s, struct gpio_chip *chip)
#define mvebu_gpio_dbg_show NULL
#endif

static struct of_device_id mvebu_gpio_of_match[] = {
static const struct of_device_id mvebu_gpio_of_match[] = {
	{
		.compatible = "marvell,orion-gpio",
		.data       = (void *) MVEBU_GPIO_SOC_VARIANT_ORION,