From: Jingoo Han Date: Wed, 7 May 2014 09:06:08 +0000 (+0900) Subject: gpio: mvebu: Make of_device_id array const X-Git-Tag: v3.16-rc1~30^2~53^2~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=271b17b69adcf813e3f7cfa8db5f3eaa7fb81cce;p=thirdparty%2Fkernel%2Flinux.git 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: Jingoo Han Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/gpio-mvebu.c b/drivers/gpio/gpio-mvebu.c index 4d398ff83ad0d..8018d308226ab 100644 --- a/drivers/gpio/gpio-mvebu.c +++ b/drivers/gpio/gpio-mvebu.c @@ -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,