mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-15 02:57:39 +00:00
ramips: fix MT7621 PCI driver on 4.14
The .map_irq hook can now be called after init. Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
9595a9e8d3
commit
79f9cadd00
@ -387,7 +387,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
|
|||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
+
|
+
|
||||||
+int __init
|
+int
|
||||||
+pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
|
+pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
|
||||||
+{
|
+{
|
||||||
+ u16 cmd;
|
+ u16 cmd;
|
||||||
|
Loading…
Reference in New Issue
Block a user