1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[adm5120] fix gpio number of the reset button Compex WP54 boards

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12296 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg
2008-08-13 16:15:45 +00:00
parent 6f0d73c642
commit 4e29396ac3
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ static struct gpio_button wp54_gpio_buttons[] __initdata = {
.type = EV_KEY, .type = EV_KEY,
.code = BTN_0, .code = BTN_0,
.threshold = 5, .threshold = 5,
.gpio = ADM5120_GPIO_PIN2, .gpio = ADM5120_GPIO_PIN4,
} }
}; };

View File

@@ -145,7 +145,7 @@ static void __init wp54_setup(void)
adm5120_buttons_data.nbuttons = 1; adm5120_buttons_data.nbuttons = 1;
adm5120_buttons[0].desc = "reset button"; 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; adm5120_gpiodev_resource.start &= ~WP54_GPIO_DEV_MASK;