diff options
| author | Jingoo Han <[email protected]> | 2014-06-03 12:09:02 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2014-06-19 07:31:16 +0000 |
| commit | e95c7c45a82a188c64900d495e32a49ac802b58e (patch) | |
| tree | a6be9f028298d1c0ce998c4873fa538aa09f2376 /drivers/gpio/gpio-lpc32xx.c | |
| parent | gpio: intel-mid: switch to using gpiolib irqchip helpers (diff) | |
| download | kernel-e95c7c45a82a188c64900d495e32a49ac802b58e.tar.gz kernel-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 <[email protected]>
Acked-By: Roland Stigge <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
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", }, { }, }; |
