diff options
Diffstat (limited to 'arch/arm/mach-omap1/board-perseus2.c')
-rw-r--r-- | arch/arm/mach-omap1/board-perseus2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap1/board-perseus2.c b/arch/arm/mach-omap1/board-perseus2.c index b715917bfdaf..b8f0077f9c77 100644 --- a/arch/arm/mach-omap1/board-perseus2.c +++ b/arch/arm/mach-omap1/board-perseus2.c | |||
@@ -205,7 +205,7 @@ static struct platform_device *devices[] __initdata = { | |||
205 | 205 | ||
206 | static int nand_dev_ready(struct omap_nand_platform_data *data) | 206 | static int nand_dev_ready(struct omap_nand_platform_data *data) |
207 | { | 207 | { |
208 | return omap_get_gpio_datain(P2_NAND_RB_GPIO_PIN); | 208 | return gpio_get_value(P2_NAND_RB_GPIO_PIN); |
209 | } | 209 | } |
210 | 210 | ||
211 | static struct omap_uart_config perseus2_uart_config __initdata = { | 211 | static struct omap_uart_config perseus2_uart_config __initdata = { |