aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/files/include/asm-mips/mach-atheros/ar531x.h
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2008-08-05 20:57:38 +0000
committerJohn Crispin <john@openwrt.org>2008-08-05 20:57:38 +0000
commit2dd9146ddf847c3c518850c7e6f921f85fae9773 (patch)
tree77b1d6ecf6f47bbb8e4e3684d060fcca39a3192f /target/linux/atheros/files/include/asm-mips/mach-atheros/ar531x.h
parent7bb55d1b91912ec6ca1a9a99110c25f60866893c (diff)
downloadupstream-2dd9146ddf847c3c518850c7e6f921f85fae9773.tar.gz
upstream-2dd9146ddf847c3c518850c7e6f921f85fae9773.tar.bz2
upstream-2dd9146ddf847c3c518850c7e6f921f85fae9773.zip
fixes reset button on atheros platform, ar5312 gpio_irqs will be added later
SVN-Revision: 12164
Diffstat (limited to 'target/linux/atheros/files/include/asm-mips/mach-atheros/ar531x.h')
-rw-r--r--target/linux/atheros/files/include/asm-mips/mach-atheros/ar531x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/atheros/files/include/asm-mips/mach-atheros/ar531x.h b/target/linux/atheros/files/include/asm-mips/mach-atheros/ar531x.h
index ba52a2b326..8148b76fba 100644
--- a/target/linux/atheros/files/include/asm-mips/mach-atheros/ar531x.h
+++ b/target/linux/atheros/files/include/asm-mips/mach-atheros/ar531x.h
@@ -54,7 +54,7 @@ extern void (*board_time_init)(void);
/* GPIO Interrupts [0..7], share AR531X_MISC_IRQ_GPIO */
#define AR531X_GPIO_IRQ_NONE AR531X_GPIO_IRQ_BASE+0
-#define AR531X_GPIO_IRQ(n) AR531X_GPIO_IRQ_BASE+(n)+1
+#define AR531X_GPIO_IRQ(n) AR531X_GPIO_IRQ_BASE+n
#define AR531X_GPIO_IRQ_COUNT 22
#define sysRegRead(phys) \