[MIPS] jmr3927: build fix

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by Atsushi Nemoto and committed by Ralf Baechle 69f28276 49fa3c08

+4 -10
+4 -10
arch/mips/pci/fixup-jmr3927.c
··· 38 { 39 unsigned char irq = pin; 40 41 /* IRQ rotation (PICMG) */ 42 irq--; /* 0-3 */ 43 if (dev->bus->parent == NULL && ··· 96 int pcibios_plat_dev_init(struct pci_dev *dev) 97 { 98 return 0; 99 - } 100 - 101 - int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin) 102 - { 103 - /* SMSC SLC90E66 IDE uses irq 14, 15 (default) */ 104 - if (!(dev->vendor == PCI_VENDOR_ID_EFAR && 105 - dev->device == PCI_DEVICE_ID_EFAR_SLC90E66_1)) 106 - return pci_get_irq(dev, pin); 107 - 108 - dev->irq = irq; 109 }
··· 38 { 39 unsigned char irq = pin; 40 41 + /* SMSC SLC90E66 IDE uses irq 14, 15 (default) */ 42 + if (dev->vendor == PCI_VENDOR_ID_EFAR && 43 + dev->device == PCI_DEVICE_ID_EFAR_SLC90E66_1) 44 + return irq; 45 /* IRQ rotation (PICMG) */ 46 irq--; /* 0-3 */ 47 if (dev->bus->parent == NULL && ··· 92 int pcibios_plat_dev_init(struct pci_dev *dev) 93 { 94 return 0; 95 }