Commit a08cbeb1 authored by Linus Walleij's avatar Linus Walleij

pinctrl: at91: Tag suspend/resume __maybe_unused

Tag the suspend/resume callbacks as __maybe_unused to silence
complaints from the build robots.
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent b2ea28b8
...@@ -1649,7 +1649,7 @@ static int gpio_irq_set_wake(struct irq_data *d, unsigned state) ...@@ -1649,7 +1649,7 @@ static int gpio_irq_set_wake(struct irq_data *d, unsigned state)
return 0; return 0;
} }
static int at91_gpio_suspend(struct device *dev) static int __maybe_unused at91_gpio_suspend(struct device *dev)
{ {
struct at91_gpio_chip *at91_chip = dev_get_drvdata(dev); struct at91_gpio_chip *at91_chip = dev_get_drvdata(dev);
void __iomem *pio = at91_chip->regbase; void __iomem *pio = at91_chip->regbase;
...@@ -1667,7 +1667,7 @@ static int at91_gpio_suspend(struct device *dev) ...@@ -1667,7 +1667,7 @@ static int at91_gpio_suspend(struct device *dev)
return 0; return 0;
} }
static int at91_gpio_resume(struct device *dev) static int __maybe_unused at91_gpio_resume(struct device *dev)
{ {
struct at91_gpio_chip *at91_chip = dev_get_drvdata(dev); struct at91_gpio_chip *at91_chip = dev_get_drvdata(dev);
void __iomem *pio = at91_chip->regbase; void __iomem *pio = at91_chip->regbase;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment