diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-06-03 14:09:02 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-06-19 09:31:16 +0200 |
commit | e95c7c45a82a188c64900d495e32a49ac802b58e (patch) | |
tree | a6be9f028298d1c0ce998c4873fa538aa09f2376 /drivers/gpio/gpio-lpc32xx.c | |
parent | gpio: intel-mid: switch to using gpiolib irqchip helpers (diff) | |
download | linux-e95c7c45a82a188c64900d495e32a49ac802b58e.tar.xz linux-e95c7c45a82a188c64900d495e32a49ac802b58e.zip |
gpio: lpc32xx: 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: Roland Stigge <stigge@antcom.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-lpc32xx.c')
-rw-r--r-- | drivers/gpio/gpio-lpc32xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-lpc32xx.c b/drivers/gpio/gpio-lpc32xx.c index 225344d66404..b9b9799b368b 100644 --- a/drivers/gpio/gpio-lpc32xx.c +++ b/drivers/gpio/gpio-lpc32xx.c @@ -560,7 +560,7 @@ static int lpc32xx_gpio_probe(struct platform_device *pdev) } #ifdef CONFIG_OF -static struct of_device_id lpc32xx_gpio_of_match[] = { +static const struct of_device_id lpc32xx_gpio_of_match[] = { { .compatible = "nxp,lpc3220-gpio", }, { }, }; |