diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 11:06:08 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-05-09 11:00:42 +0200 |
commit | 271b17b69adcf813e3f7cfa8db5f3eaa7fb81cce (patch) | |
tree | efd54d9b40f3e61fd68802b8da9876b59ac9c3dc /drivers | |
parent | gpio: mcp23s08: Make of_device_id array const (diff) | |
download | linux-271b17b69adcf813e3f7cfa8db5f3eaa7fb81cce.tar.xz linux-271b17b69adcf813e3f7cfa8db5f3eaa7fb81cce.zip |
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 <jg1.han@samsung.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpio/gpio-mvebu.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |