summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorPrashant Gaikwad <pgaikwad@nvidia.com>2012-03-30 17:58:07 +0530
committerVarun Wadekar <vwadekar@nvidia.com>2012-04-09 11:15:52 +0530
commitfc2346d6505fcc80f92dbedf63577e78bd8d18c7 (patch)
tree4aee5406c1812d6b4df01e1bece8ecbd7c4602f5 /drivers/gpio
parentac21dd74b544aaf0021f49e0224dcb41387c9205 (diff)
gpio: tegra: Fix suspend function return type
Change-Id: Ifdafbb0d7e05d48d673e00470f4001a3d71175e1 Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Diffstat (limited to 'drivers/gpio')
-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)