summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-octeon.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2016-03-18 21:06:06 +0800
committerLinus Walleij <linus.walleij@linaro.org>2016-03-30 10:38:51 +0200
commitb6d055b198b70c430a0b7e78280e8ef35e44f319 (patch)
treee3b0fa0931c05021057747f12ea01293132ecb3c /drivers/gpio/gpio-octeon.c
parent592569de4c247fe4f25db8369dc0c63860f9560b (diff)
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/gpio-octeon.c')
-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",
},