Skip to content

Commit a08cbeb

Browse files
committed
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: Linus Walleij <[email protected]>
1 parent b2ea28b commit a08cbeb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/pinctrl/pinctrl-at91.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1649,7 +1649,7 @@ static int gpio_irq_set_wake(struct irq_data *d, unsigned state)
16491649
return 0;
16501650
}
16511651

1652-
static int at91_gpio_suspend(struct device *dev)
1652+
static int __maybe_unused at91_gpio_suspend(struct device *dev)
16531653
{
16541654
struct at91_gpio_chip *at91_chip = dev_get_drvdata(dev);
16551655
void __iomem *pio = at91_chip->regbase;
@@ -1667,7 +1667,7 @@ static int at91_gpio_suspend(struct device *dev)
16671667
return 0;
16681668
}
16691669

1670-
static int at91_gpio_resume(struct device *dev)
1670+
static int __maybe_unused at91_gpio_resume(struct device *dev)
16711671
{
16721672
struct at91_gpio_chip *at91_chip = dev_get_drvdata(dev);
16731673
void __iomem *pio = at91_chip->regbase;

0 commit comments

Comments
 (0)