summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/gpio/gpio-tegra.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c
index a6d1197a8eb8..c743c87db155 100644
--- a/drivers/gpio/gpio-tegra.c
+++ b/drivers/gpio/gpio-tegra.c
@@ -362,7 +362,7 @@ void tegra_gpio_resume(void)
local_irq_restore(flags);
}
-void tegra_gpio_suspend(void)
+int tegra_gpio_suspend(void)
{
unsigned long flags;
int b;
@@ -382,6 +382,8 @@ void tegra_gpio_suspend(void)
}
}
local_irq_restore(flags);
+
+ return 0;
}
static int tegra_gpio_irq_set_wake(struct irq_data *d, unsigned int enable)