diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-10-07 11:37:12 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-10-07 11:37:12 +0000 |
commit | 3b9cb8b673f640473b587c638779913c4755f1cc (patch) | |
tree | a5b1e5232309518d8c2c428af716912b6efcd231 /target/linux/ramips/files/arch/mips/pci | |
parent | 13be9155c5de47d1dc1f6d0597bc80b889fac7e5 (diff) | |
download | upstream-3b9cb8b673f640473b587c638779913c4755f1cc.tar.gz upstream-3b9cb8b673f640473b587c638779913c4755f1cc.tar.bz2 upstream-3b9cb8b673f640473b587c638779913c4755f1cc.zip |
ramips: fix return value in 'pcibios_map_irq' in the rt288x pci code
SVN-Revision: 17975
Diffstat (limited to 'target/linux/ramips/files/arch/mips/pci')
-rw-r--r-- | target/linux/ramips/files/arch/mips/pci/pci-rt288x.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |