mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-19 09:46:26 +03:00
ramips: fix return value in 'pcibios_map_irq' in the rt288x pci code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17975 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
d5f23286fd
commit
8d6b2abeef
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user