From: Jingoo Han Date: Wed, 7 May 2014 09:06:08 +0000 (+0900) Subject: gpio: mvebu: Make of_device_id array const X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=271b17b69adcf813e3f7cfa8db5f3eaa7fb81cce;p=linux-beck.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 4d398ff83ad0..8018d308226a 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,