MIPS: Bonito64: Make Loongson independent from Bonito64 code.
[firefly-linux-kernel-4.4.55.git] / arch / mips / pci / fixup-fuloong2e.c
index 0c4c7a81213f81b01dc24ac924320174a0064fa2..4f6d8da07f93906a786b967cebdce7bfde0721d7 100644 (file)
@@ -13,7 +13,8 @@
  */
 #include <linux/init.h>
 #include <linux/pci.h>
-#include <asm/mips-boards/bonito64.h>
+
+#include <loongson.h>
 
 /* South bridge slot number is set by the pci probe process */
 static u8 sb_slot = 5;
@@ -35,7 +36,7 @@ int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
                        break;
                }
        } else {
-               irq = BONITO_IRQ_BASE + 25 + pin;
+               irq = LOONGSON_IRQ_BASE + 25 + pin;
        }
        return irq;