From: Axel Lin Date: Fri, 18 Mar 2016 13:06:06 +0000 (+0800) Subject: gpio: octeon: Constify octeon_gpio_match table X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b6d055b198b70c430a0b7e78280e8ef35e44f319;p=linux-beck.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 9373d4e09185..96a8a8cb2729 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", },