aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/files/include/asm-mips/mach-atheros
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2008-08-05 20:57:38 +0000
committerJohn Crispin <blogic@openwrt.org>2008-08-05 20:57:38 +0000
commit566e79fea0c13bf7657e8a795e80dbbeb9305a12 (patch)
tree449d30549fd476f3ab247e803fc06b0fd804e4a2 /target/linux/atheros/files/include/asm-mips/mach-atheros
parente137e9a74f30a341f969a750997e9a90b1aae79d (diff)
downloadmaster-187ad058-566e79fea0c13bf7657e8a795e80dbbeb9305a12.tar.gz
master-187ad058-566e79fea0c13bf7657e8a795e80dbbeb9305a12.tar.bz2
master-187ad058-566e79fea0c13bf7657e8a795e80dbbeb9305a12.zip
fixes reset button on atheros platform, ar5312 gpio_irqs will be added later
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12164 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros/files/include/asm-mips/mach-atheros')
-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) \