From: Gabor Juhos Date: Wed, 7 Oct 2009 11:37:12 +0000 (+0000) Subject: ramips: fix return value in 'pcibios_map_irq' in the rt288x pci code X-Git-Tag: reboot~22230 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3b9cb8b673f640473b587c638779913c4755f1cc;p=openwrt%2Fstaging%2Flynxis.git ramips: fix return value in 'pcibios_map_irq' in the rt288x pci code SVN-Revision: 17975 --- diff --git a/target/linux/ramips/files/arch/mips/pci/pci-rt288x.c b/target/linux/ramips/files/arch/mips/pci/pci-rt288x.c index 4360e63657..1c9df5df53 100644 --- a/target/linux/ramips/files/arch/mips/pci/pci-rt288x.c +++ b/target/linux/ramips/files/arch/mips/pci/pci-rt288x.c @@ -192,7 +192,7 @@ int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) int irq = -1; if (dev->bus->number != 0) - return 0; + return irq; switch (PCI_SLOT(dev->devfn)) { case 0x00: