summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-tps65086.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-tps65086.c')
-rw-r--r--drivers/gpio/gpio-tps65086.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-tps65086.c b/drivers/gpio/gpio-tps65086.c
index 8e25f01ac314..b23c4d2429be 100644
--- a/drivers/gpio/gpio-tps65086.c
+++ b/drivers/gpio/gpio-tps65086.c
@@ -72,7 +72,7 @@ static void tps65086_gpio_set(struct gpio_chip *chip, unsigned offset,
BIT(4 + offset), value ? BIT(4 + offset) : 0);
}
-static struct gpio_chip template_chip = {
+static const struct gpio_chip template_chip = {
.label = "tps65086-gpio",
.owner = THIS_MODULE,
.get_direction = tps65086_gpio_get_direction,