mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 02:29:01 +00:00
ramips: fix return value in 'pcibios_map_irq' in the rt288x pci code
SVN-Revision: 17975
This commit is contained in:
parent
13be9155c5
commit
3b9cb8b673
@ -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