diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-06-03 08:09:02 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-06-19 03:31:16 -0400 |
commit | e95c7c45a82a188c64900d495e32a49ac802b58e (patch) | |
tree | a6be9f028298d1c0ce998c4873fa538aa09f2376 /drivers | |
parent | 3f7dbfd8eea9a2989485886029b1bd2a6b441f3e (diff) |
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')
-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) | |||
560 | } | 560 | } |
561 | 561 | ||
562 | #ifdef CONFIG_OF | 562 | #ifdef CONFIG_OF |
563 | static struct of_device_id lpc32xx_gpio_of_match[] = { | 563 | static const struct of_device_id lpc32xx_gpio_of_match[] = { |
564 | { .compatible = "nxp,lpc3220-gpio", }, | 564 | { .compatible = "nxp,lpc3220-gpio", }, |
565 | { }, | 565 | { }, |
566 | }; | 566 | }; |