From 1d6337a6831dadb046b2ecb714a57d036d08bfa8 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Wed, 13 Aug 2008 16:15:45 +0000 Subject: [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 --- target/linux/adm5120/files-2.6.26/arch/mips/adm5120/compex/wp54.c | 2 +- target/linux/adm5120/files/arch/mips/adm5120/boards/compex.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'target') diff --git a/target/linux/adm5120/files-2.6.26/arch/mips/adm5120/compex/wp54.c b/target/linux/adm5120/files-2.6.26/arch/mips/adm5120/compex/wp54.c index 044680964f..86b9d681b3 100644 --- a/target/linux/adm5120/files-2.6.26/arch/mips/adm5120/compex/wp54.c +++ b/target/linux/adm5120/files-2.6.26/arch/mips/adm5120/compex/wp54.c @@ -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, } }; diff --git a/target/linux/adm5120/files/arch/mips/adm5120/boards/compex.c b/target/linux/adm5120/files/arch/mips/adm5120/boards/compex.c index 5cf858c294..71fa17dd04 100644 --- a/target/linux/adm5120/files/arch/mips/adm5120/boards/compex.c +++ b/target/linux/adm5120/files/arch/mips/adm5120/boards/compex.c @@ -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; -- cgit v1.2.3