diff options
Diffstat (limited to 'arch/arm/mach-omap1/board-perseus2.c')
-rw-r--r-- | arch/arm/mach-omap1/board-perseus2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-omap1/board-perseus2.c b/arch/arm/mach-omap1/board-perseus2.c index 9a7e483ed6fd..27f8d12ec222 100644 --- a/arch/arm/mach-omap1/board-perseus2.c +++ b/arch/arm/mach-omap1/board-perseus2.c | |||
@@ -275,8 +275,7 @@ static void __init omap_perseus2_init(void) | |||
275 | 275 | ||
276 | perseus2_init_smc91x(); | 276 | perseus2_init_smc91x(); |
277 | 277 | ||
278 | if (gpio_request(P2_NAND_RB_GPIO_PIN, "NAND ready") < 0) | 278 | BUG_ON(gpio_request(P2_NAND_RB_GPIO_PIN, "NAND ready") < 0); |
279 | BUG(); | ||
280 | gpio_direction_input(P2_NAND_RB_GPIO_PIN); | 279 | gpio_direction_input(P2_NAND_RB_GPIO_PIN); |
281 | 280 | ||
282 | omap_cfg_reg(L3_1610_FLASH_CS2B_OE); | 281 | omap_cfg_reg(L3_1610_FLASH_CS2B_OE); |