From: Jingoo Han Date: Tue, 3 Jun 2014 12:09:02 +0000 (+0900) Subject: gpio: lpc32xx: Make of_device_id array const X-Git-Tag: v3.17-rc1~71^2~34 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e95c7c45a82a188c64900d495e32a49ac802b58e;p=karo-tx-linux.git 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 Acked-By: Roland Stigge Signed-off-by: Linus Walleij --- 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", }, { }, };