diff options
Diffstat (limited to 'arch/arm/mach-omap1/board-h3.c')
-rw-r--r-- | arch/arm/mach-omap1/board-h3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap1/board-h3.c b/arch/arm/mach-omap1/board-h3.c index adfcd7b51393..c524f47cf862 100644 --- a/arch/arm/mach-omap1/board-h3.c +++ b/arch/arm/mach-omap1/board-h3.c | |||
@@ -498,7 +498,7 @@ static struct omap_gpio_switch h3_gpio_switches[] __initdata = { | |||
498 | 498 | ||
499 | static int nand_dev_ready(struct omap_nand_platform_data *data) | 499 | static int nand_dev_ready(struct omap_nand_platform_data *data) |
500 | { | 500 | { |
501 | return omap_get_gpio_datain(H3_NAND_RB_GPIO_PIN); | 501 | return gpio_get_value(H3_NAND_RB_GPIO_PIN); |
502 | } | 502 | } |
503 | 503 | ||
504 | static void __init h3_init(void) | 504 | static void __init h3_init(void) |