[adm5120] fix of the board specific initialization of the GPIO pins
[openwrt/svn-archive/archive.git] / target / linux / adm5120-2.6 / files / arch / mips / adm5120 / boards / zyxel.c
index 8b57876607848a0d70446f89703885d19addda0a..f6cdc8af4a0dbffe9e1898f918e3f8993fb26e20 100644 (file)
@@ -73,6 +73,7 @@ static struct platform_device *p335_devices[] __initdata = {
 static void __init p33x_setup(void)
 {
        gpio_request(ADM5120_GPIO_PIN5, NULL); /* for flash A20 line */
+       gpio_direction_output(ADM5120_GPIO_PIN5, 0);
 
        /* setup data for flash0 device */
        adm5120_flash0_data.switch_bank = switch_bank_gpio5;