summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-tpic2810.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-tpic2810.c')
-rw-r--r--drivers/gpio/gpio-tpic2810.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-tpic2810.c b/drivers/gpio/gpio-tpic2810.c
index cace79c1b70a..c8b34d787eed 100644
--- a/drivers/gpio/gpio-tpic2810.c
+++ b/drivers/gpio/gpio-tpic2810.c
@@ -87,7 +87,7 @@ static void tpic2810_set_multiple(struct gpio_chip *chip, unsigned long *mask,
tpic2810_set_mask_bits(chip, *mask, *bits);
}
-static struct gpio_chip template_chip = {
+static const struct gpio_chip template_chip = {
.label = "tpic2810",
.owner = THIS_MODULE,
.get_direction = tpic2810_get_direction,