summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-da9055.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-da9055.c')
-rw-r--r--drivers/gpio/gpio-da9055.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-da9055.c b/drivers/gpio/gpio-da9055.c
index 2c2c18dc6c4f..82053b52cba0 100644
--- a/drivers/gpio/gpio-da9055.c
+++ b/drivers/gpio/gpio-da9055.c
@@ -121,7 +121,7 @@ static int da9055_gpio_to_irq(struct gpio_chip *gc, u32 offset)
DA9055_IRQ_GPI0 + offset);
}
-static struct gpio_chip reference_gp = {
+static const struct gpio_chip reference_gp = {
.label = "da9055-gpio",
.owner = THIS_MODULE,
.get = da9055_gpio_get,