From: Ajay Kumar Date: Fri, 5 Sep 2014 11:23:35 +0000 (+0530) Subject: ARM: exynos: Add missing declaration for gpio_direction_input X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=2358fc8ed95ab8fa3e9923f775be4bb5b38a32e9;p=u-boot.git 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 Signed-off-by: Minkyu Kang --- diff --git a/arch/arm/include/asm/arch-exynos/gpio.h b/arch/arm/include/asm/arch-exynos/gpio.h index be5113f0e2..8fb5c2321e 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);