summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRickard Andersson <rickard.andersson@stericsson.com>2011-05-24 23:07:17 +0200
committerGrant Likely <grant.likely@secretlab.ca>2011-05-26 17:30:18 -0600
commitbc6f5cf6484a509cfe0533b8ddf8b8ca60f35557 (patch)
tree6129c19354abc14e1e3b6a8b0fec9e4a89ab3662 /arch
parent8ea72a30a31c30ec7fa0c30c743b2cec0712d143 (diff)
downloadlinux-bc6f5cf6484a509cfe0533b8ddf8b8ca60f35557.tar.gz
linux-bc6f5cf6484a509cfe0533b8ddf8b8ca60f35557.tar.bz2
linux-bc6f5cf6484a509cfe0533b8ddf8b8ca60f35557.zip
gpio/nomadik: add function to read GPIO pull down status
Signed-off-by: Rickard Andersson <rickard.andersson@stericsson.com> Reviewed-by: Martin Persson <martin.persson@stericsson.com> [Split off from larger patch] Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/plat-nomadik/include/plat/gpio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-nomadik/include/plat/gpio.h b/arch/arm/plat-nomadik/include/plat/gpio.h
index 1b9f6f0843d1..ea19a5b2f227 100644
--- a/arch/arm/plat-nomadik/include/plat/gpio.h
+++ b/arch/arm/plat-nomadik/include/plat/gpio.h
@@ -78,6 +78,8 @@ extern int nmk_gpio_get_mode(int gpio);
extern void nmk_gpio_wakeups_suspend(void);
extern void nmk_gpio_wakeups_resume(void);
+extern void nmk_gpio_read_pull(int gpio_bank, u32 *pull_up);
+
/*
* Platform data to register a block: only the initial gpio/irq number.
*/