summaryrefslogtreecommitdiff
path: root/board/samsung/goni/goni.c
diff options
context:
space:
mode:
authorMinkyu Kang <mk7.kang@samsung.com>2010-08-25 13:45:43 +0900
committerMinkyu Kang <mk7.kang@samsung.com>2010-08-30 14:44:33 +0900
commita87bc64cb4311323f592265541ced6ec9171d4d6 (patch)
tree166e3140426ec8681728c828a2bd3a2ad689d857 /board/samsung/goni/goni.c
parentf70409aff3a10e22ff9c66f87e9cbc3de7cbd7f7 (diff)
downloadu-boot-imx-a87bc64cb4311323f592265541ced6ec9171d4d6.zip
u-boot-imx-a87bc64cb4311323f592265541ced6ec9171d4d6.tar.gz
u-boot-imx-a87bc64cb4311323f592265541ced6ec9171d4d6.tar.bz2
ARMV7: S5P: rename the member of gpio structure
Typically we declare the name of gpio structure to "gpio", so it was duplicated around the name. (e.g: gpio->gpio_a) This patch modified the naming that is removing "gpio_". Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'board/samsung/goni/goni.c')
-rw-r--r--board/samsung/goni/goni.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/board/samsung/goni/goni.c b/board/samsung/goni/goni.c
index 060d5d1..4336729 100644
--- a/board/samsung/goni/goni.c
+++ b/board/samsung/goni/goni.c
@@ -67,7 +67,7 @@ int board_mmc_init(bd_t *bis)
int i;
/* MASSMEMORY_EN: XMSMDATA7: GPJ2[7] output high */
- gpio_direction_output(&s5pc110_gpio->gpio_j2, 7, 1);
+ gpio_direction_output(&s5pc110_gpio->j2, 7, 1);
/*
* MMC0 GPIO
@@ -80,11 +80,11 @@ int board_mmc_init(bd_t *bis)
if (i == 2)
continue;
/* GPG0[0:6] special function 2 */
- gpio_cfg_pin(&s5pc110_gpio->gpio_g0, i, 0x2);
+ gpio_cfg_pin(&s5pc110_gpio->g0, i, 0x2);
/* GPG0[0:6] pull disable */
- gpio_set_pull(&s5pc110_gpio->gpio_g0, i, GPIO_PULL_NONE);
+ gpio_set_pull(&s5pc110_gpio->g0, i, GPIO_PULL_NONE);
/* GPG0[0:6] drv 4x */
- gpio_set_drv(&s5pc110_gpio->gpio_g0, i, GPIO_DRV_4X);
+ gpio_set_drv(&s5pc110_gpio->g0, i, GPIO_DRV_4X);
}
return s5p_mmc_init(0);