From e9d4b0d382c5e6f9a8780f5e7a290a5a79ab8603 Mon Sep 17 00:00:00 2001 From: blogic Date: Tue, 5 Aug 2008 20:57:38 +0000 Subject: 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 --- target/linux/atheros/files/include/asm-mips/mach-atheros/ar531x.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/atheros/files/include/asm-mips/mach-atheros') 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) \ -- cgit v1.2.3