summaryrefslogtreecommitdiff
path: root/arch/arm/plat-omap/include/plat/gpio.h
diff options
context:
space:
mode:
authorRajendra Nayak <rnayak@ti.com>2008-09-26 17:47:48 +0530
committerKevin Hilman <khilman@deeprootsystems.com>2009-11-11 14:40:12 -0800
commit40c670f0314c3c9463ce9c2f2b9b1085884837f6 (patch)
treef603ced6489005ddecd67f8c17a560f78d451d29 /arch/arm/plat-omap/include/plat/gpio.h
parenta2d3e7bad82dcfb67924849e2063238a1ae51b6e (diff)
OMAP3: PM: GPIO context save/restore
Add context save and restore to enable off-mode. Signed-off-by: Rajendra Nayak <rnayak@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/gpio.h')
-rw-r--r--arch/arm/plat-omap/include/plat/gpio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/include/plat/gpio.h b/arch/arm/plat-omap/include/plat/gpio.h
index 633ff688b928..de7c54731cbe 100644
--- a/arch/arm/plat-omap/include/plat/gpio.h
+++ b/arch/arm/plat-omap/include/plat/gpio.h
@@ -76,7 +76,8 @@ extern void omap2_gpio_prepare_for_retention(void);
extern void omap2_gpio_resume_after_retention(void);
extern void omap_set_gpio_debounce(int gpio, int enable);
extern void omap_set_gpio_debounce_time(int gpio, int enable);
-
+extern void omap_gpio_save_context(void);
+extern void omap_gpio_restore_context(void);
/*-------------------------------------------------------------------------*/
/* Wrappers for "new style" GPIO calls, using the new infrastructure