aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/files/include/asm-mips/mach-atheros
diff options
context:
space:
mode:
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) \