summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAjay Kumar <ajaykumar.rs@samsung.com>2014-09-05 16:53:35 +0530
committerMinkyu Kang <mk7.kang@samsung.com>2014-09-05 20:37:07 +0900
commit2358fc8ed95ab8fa3e9923f775be4bb5b38a32e9 (patch)
treee6ff488bdff96bf8695368088320bb7128b6e63d /arch
parent9e8f664ecb25110c623d0385735db27596330ee7 (diff)
downloadu-boot-imx-2358fc8ed95ab8fa3e9923f775be4bb5b38a32e9.zip
u-boot-imx-2358fc8ed95ab8fa3e9923f775be4bb5b38a32e9.tar.gz
u-boot-imx-2358fc8ed95ab8fa3e9923f775be4bb5b38a32e9.tar.bz2
ARM: exynos: Add missing declaration for gpio_direction_input
This patch adds missing declaration for gpio_direction_input function, thereby helps in resolving compilation warnings. Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/arch-exynos/gpio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-exynos/gpio.h b/arch/arm/include/asm/arch-exynos/gpio.h
index be5113f..8fb5c23 100644
--- a/arch/arm/include/asm/arch-exynos/gpio.h
+++ b/arch/arm/include/asm/arch-exynos/gpio.h
@@ -1504,6 +1504,7 @@ static const struct gpio_name_num_table exynos5420_gpio_table[] = {
void gpio_cfg_pin(int gpio, int cfg);
void gpio_set_pull(int gpio, int mode);
void gpio_set_drv(int gpio, int mode);
+int gpio_direction_input(unsigned gpio);
int gpio_direction_output(unsigned gpio, int value);
int gpio_set_value(unsigned gpio, int value);
int gpio_get_value(unsigned gpio);