summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2016-03-18 14:06:06 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-03-30 10:38:51 +0200
commitb6d055b198b70c430a0b7e78280e8ef35e44f319 (patch)
treee3b0fa0931c05021057747f12ea01293132ecb3c /drivers/gpio
parentgpio: octeon: Convert to use devm_ioremap_resource (diff)
downloadlinux-b6d055b198b70c430a0b7e78280e8ef35e44f319.tar.xz
linux-b6d055b198b70c430a0b7e78280e8ef35e44f319.zip
gpio: octeon: Constify octeon_gpio_match table
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-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",
},