summaryrefslogtreecommitdiffstats
path: root/arch/mips/ath79/dev-common.c
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-02-07 19:32:24 +0000
committerJohn Crispin <blogic@openwrt.org>2013-02-17 01:25:42 +0100
commitfd633cf1cfe978003888dc78ff94f926fbe7dd8a (patch)
tree09f299acec755682dfe34bdadac11685e1e7d5fb /arch/mips/ath79/dev-common.c
parent7e69c10a8ee1f201c040997c6742c27e915730ad (diff)
ath79: remove ATH79_MISC_IRQ_* defines
Use the ATH79_MISC_IRQ() macro instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Patchwork: http://patchwork.linux-mips.org/patch/4930/ Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'arch/mips/ath79/dev-common.c')
-rw-r--r--arch/mips/ath79/dev-common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/ath79/dev-common.c b/arch/mips/ath79/dev-common.c
index 45efc63b08b..480f5eb9d30 100644
--- a/arch/mips/ath79/dev-common.c
+++ b/arch/mips/ath79/dev-common.c
@@ -36,7 +36,7 @@ static struct resource ath79_uart_resources[] = {
static struct plat_serial8250_port ath79_uart_data[] = {
{
.mapbase = AR71XX_UART_BASE,
- .irq = ATH79_MISC_IRQ_UART,
+ .irq = ATH79_MISC_IRQ(3),
.flags = AR71XX_UART_FLAGS,
.iotype = UPIO_MEM32,
.regshift = 2,
@@ -62,8 +62,8 @@ static struct resource ar933x_uart_resources[] = {
.flags = IORESOURCE_MEM,
},
{
- .start = ATH79_MISC_IRQ_UART,
- .end = ATH79_MISC_IRQ_UART,
+ .start = ATH79_MISC_IRQ(3),
+ .end = ATH79_MISC_IRQ(3),
.flags = IORESOURCE_IRQ,
},
};