mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00: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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user