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

Submitted by Chander Kashyap on July 26, 2011, 9:04 a.m.

Details

Message ID 1311671047-21935-1-git-send-email-chander.kashyap@linaro.org
State Accepted
Commit 0e74b56518e5479aa122b22bae10fa62c6ecd57e
Delegated to: Minkyu Kang
Headers show

Commit Message

Chander Kashyap July 26, 2011, 9:04 a.m.
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@linaro.org>
---
 board/samsung/smdkv310/smdkv310.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Minkyu Kang July 28, 2011, 4:58 a.m.
Dear Chander Kashyap,

On 26 July 2011 18:04, Chander Kashyap <chander.kashyap@linaro.org> wrote:
> 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@linaro.org>
> ---
>  board/samsung/smdkv310/smdkv310.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>

applied to u-boot-samsung

Thanks
Minkyu Kang

Patch hide | download patch | download mbox

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;
 		}