aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/files/arch/mips/atheros/reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/atheros/files/arch/mips/atheros/reset.c')
-rw-r--r--target/linux/atheros/files/arch/mips/atheros/reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/atheros/files/arch/mips/atheros/reset.c b/target/linux/atheros/files/arch/mips/atheros/reset.c
index 2342de81e0..876fa29ba7 100644
--- a/target/linux/atheros/files/arch/mips/atheros/reset.c
+++ b/target/linux/atheros/files/arch/mips/atheros/reset.c
@@ -9,7 +9,7 @@
#include <asm/uaccess.h>
#include <ar531x.h>
-#define AR531X_RESET_GPIO_IRQ (AR531X_GPIO_IRQ_BASE + bcfg->resetConfigGpio)
+#define AR531X_RESET_GPIO_IRQ (AR531X_GPIO_IRQ(bcfg->resetConfigGpio))
struct event_t {
struct work_struct wq;