summaryrefslogtreecommitdiff
path: root/target/linux/adm5120
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-08-13 16:15:45 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-08-13 16:15:45 +0000
commit904effc1677edce87b584e089dbe4bc16ea74d22 (patch)
tree416f63b9fc0ef5d7d585219683cef3f09455b76a /target/linux/adm5120
parent90fe458aca5dd58c91498add0904015da288f0c0 (diff)
downloadmtk-20170518-904effc1677edce87b584e089dbe4bc16ea74d22.zip
mtk-20170518-904effc1677edce87b584e089dbe4bc16ea74d22.tar.gz
mtk-20170518-904effc1677edce87b584e089dbe4bc16ea74d22.tar.bz2
fix gpio number of the reset button Compex WP54 boards
SVN-Revision: 12296
Diffstat (limited to 'target/linux/adm5120')
-rw-r--r--target/linux/adm5120/files-2.6.26/arch/mips/adm5120/compex/wp54.c2
-rw-r--r--target/linux/adm5120/files/arch/mips/adm5120/boards/compex.c2
2 files changed, 2 insertions, 2 deletions
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 0446809..86b9d68 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 5cf858c..71fa17d 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;