[U-Boot] [PATCH] SMDKV310: Fix build error for smdkv310 board

Chander Kashyap chander.kashyap at linaro.org
Tue Jul 26 11:04:07 CEST 2011


Fix build error for smdkv310 board:

board/samsung/smdkv310/smdkv310.c:126: undefined reference to `gpio_set_pull'

Signed-off-by: Chander Kashyap <chander.kashyap at linaro.org>
---
 board/samsung/smdkv310/smdkv310.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/board/samsung/smdkv310/smdkv310.c b/board/samsung/smdkv310/smdkv310.c
index 173520e..e0b89dd 100644
--- a/board/samsung/smdkv310/smdkv310.c
+++ b/board/samsung/smdkv310/smdkv310.c
@@ -123,7 +123,7 @@ int board_mmc_init(bd_t *bis)
 
 		/* GPK2[0:1] pull disable */
 		if (i == 0 || i == 1) {
-			gpio_set_pull(&gpio2->k2, i, GPIO_PULL_NONE);
+			s5p_gpio_set_pull(&gpio2->k2, i, GPIO_PULL_NONE);
 			continue;
 		}
 
-- 
1.7.4.1



More information about the U-Boot mailing list