aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/ath79/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/ath79/pci.c')
-rw-r--r--arch/mips/ath79/pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/ath79/pci.c b/arch/mips/ath79/pci.c
index ea8aa10893d8..4350c252bce5 100644
--- a/arch/mips/ath79/pci.c
+++ b/arch/mips/ath79/pci.c
@@ -127,8 +127,8 @@ ath79_register_pci_ar71xx(void)
127 res[0].end = AR71XX_PCI_CFG_BASE + AR71XX_PCI_CFG_SIZE - 1; 127 res[0].end = AR71XX_PCI_CFG_BASE + AR71XX_PCI_CFG_SIZE - 1;
128 128
129 res[1].flags = IORESOURCE_IRQ; 129 res[1].flags = IORESOURCE_IRQ;
130 res[1].start = ATH79_CPU_IRQ_IP2; 130 res[1].start = ATH79_CPU_IRQ(2);
131 res[1].end = ATH79_CPU_IRQ_IP2; 131 res[1].end = ATH79_CPU_IRQ(2);
132 132
133 res[2].name = "io_base"; 133 res[2].name = "io_base";
134 res[2].flags = IORESOURCE_IO; 134 res[2].flags = IORESOURCE_IO;
@@ -208,7 +208,7 @@ int __init ath79_register_pci(void)
208 AR724X_PCI_MEM_BASE, 208 AR724X_PCI_MEM_BASE,
209 AR724X_PCI_MEM_SIZE, 209 AR724X_PCI_MEM_SIZE,
210 0, 210 0,
211 ATH79_CPU_IRQ_IP2); 211 ATH79_CPU_IRQ(2));
212 } else if (soc_is_ar9342() || 212 } else if (soc_is_ar9342() ||
213 soc_is_ar9344()) { 213 soc_is_ar9344()) {
214 u32 bootstrap; 214 u32 bootstrap;