fix gpio number of the reset button Compex WP54 boards
authorGabor Juhos <juhosg@openwrt.org>
Wed, 13 Aug 2008 16:15:45 +0000 (16:15 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 13 Aug 2008 16:15:45 +0000 (16:15 +0000)
SVN-Revision: 12296

target/linux/adm5120/files-2.6.26/arch/mips/adm5120/compex/wp54.c
target/linux/adm5120/files/arch/mips/adm5120/boards/compex.c

index 044680964f7ee99d7fc753ac937becd64fa1e578..86b9d681b3f0ff2ea32a5d51b2b5613080d1ffa2 100644 (file)
@@ -40,7 +40,7 @@ static struct gpio_button wp54_gpio_buttons[] __initdata = {
                .type           = EV_KEY,
                .code           = BTN_0,
                .threshold      = 5,
-               .gpio           = ADM5120_GPIO_PIN2,
+               .gpio           = ADM5120_GPIO_PIN4,
        }
 };
 
index 5cf858c294a9a90a09e2f537fcad25311307a511..71fa17dd040b270ae7237273e568baf7ffc6c6f6 100644 (file)
@@ -145,7 +145,7 @@ static void __init wp54_setup(void)
 
        adm5120_buttons_data.nbuttons = 1;
        adm5120_buttons[0].desc = "reset button";
-       adm5120_buttons[0].gpio = ADM5120_GPIO_PIN2;
+       adm5120_buttons[0].gpio = ADM5120_GPIO_PIN4;
 
        adm5120_gpiodev_resource.start &= ~WP54_GPIO_DEV_MASK;