diff options
author | Rickard Andersson <rickard.andersson@stericsson.com> | 2011-05-24 23:07:17 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-05-26 17:30:18 -0600 |
commit | bc6f5cf6484a509cfe0533b8ddf8b8ca60f35557 (patch) | |
tree | 6129c19354abc14e1e3b6a8b0fec9e4a89ab3662 /arch/arm/plat-nomadik | |
parent | 8ea72a30a31c30ec7fa0c30c743b2cec0712d143 (diff) | |
download | op-kernel-dev-bc6f5cf6484a509cfe0533b8ddf8b8ca60f35557.zip op-kernel-dev-bc6f5cf6484a509cfe0533b8ddf8b8ca60f35557.tar.gz |
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/arm/plat-nomadik')
-rw-r--r-- | arch/arm/plat-nomadik/include/plat/gpio.h | 2 |
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 1b9f6f0..ea19a5b 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. */ |