aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2016-03-18 13:06:06 +0000
committerLinus Walleij <[email protected]>2016-03-30 08:38:51 +0000
commitb6d055b198b70c430a0b7e78280e8ef35e44f319 (patch)
treee3b0fa0931c05021057747f12ea01293132ecb3c
parentgpio: octeon: Convert to use devm_ioremap_resource (diff)
downloadkernel-b6d055b198b70c430a0b7e78280e8ef35e44f319.tar.gz
kernel-b6d055b198b70c430a0b7e78280e8ef35e44f319.zip
gpio: octeon: Constify octeon_gpio_match table
Signed-off-by: Axel Lin <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
-rw-r--r--drivers/gpio/gpio-octeon.c2
1 files changed, 1 insertions, 1 deletions
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",
},