From: Axel Lin Date: Fri, 18 Mar 2016 13:06:06 +0000 (+0800) Subject: gpio: octeon: Constify octeon_gpio_match table X-Git-Tag: v4.7-rc1~150^2~117 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b6d055b198b70c430a0b7e78280e8ef35e44f319;p=thirdparty%2Fkernel%2Flinux.git gpio: octeon: Constify octeon_gpio_match table Signed-off-by: Axel Lin Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/gpio-octeon.c b/drivers/gpio/gpio-octeon.c index 9373d4e091854..96a8a8cb27298 100644 --- a/drivers/gpio/gpio-octeon.c +++ b/drivers/gpio/gpio-octeon.c @@ -116,7 +116,7 @@ static int octeon_gpio_probe(struct platform_device *pdev) return 0; } -static struct of_device_id octeon_gpio_match[] = { +static const struct of_device_id octeon_gpio_match[] = { { .compatible = "cavium,octeon-3860-gpio", },