aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/adm5120/files/arch/mips/adm5120/common/platform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/adm5120/files/arch/mips/adm5120/common/platform.c b/target/linux/adm5120/files/arch/mips/adm5120/common/platform.c
index 4535a7f397..bdbfbcbae5 100644
--- a/target/linux/adm5120/files/arch/mips/adm5120/common/platform.c
+++ b/target/linux/adm5120/files/arch/mips/adm5120/common/platform.c
@@ -200,7 +200,7 @@ struct amba_device adm5120_uart0_device = {
.end = ADM5120_UART0_BASE + ADM5120_UART_SIZE - 1,
.flags = IORESOURCE_MEM,
},
- .irq = { ADM5120_IRQ_UART0, -1 },
+ .irq = { ADM5120_IRQ_UART0, 0 },
.periphid = 0x0041010,
};
@@ -218,7 +218,7 @@ struct amba_device adm5120_uart1_device = {
.end = ADM5120_UART1_BASE + ADM5120_UART_SIZE - 1,
.flags = IORESOURCE_MEM,
},
- .irq = { ADM5120_IRQ_UART1, -1 },
+ .irq = { ADM5120_IRQ_UART1, 0 },
.periphid = 0x0041010,
};