From: Felix Fietkau Date: Wed, 21 Feb 2018 12:10:44 +0000 (+0100) Subject: ramips: fix MT7621 PCI driver on 4.14 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=79f9cadd00d84860a4a41ec1ec1b277a2d94edea;p=openwrt%2Fstaging%2Faparcar.git ramips: fix MT7621 PCI driver on 4.14 The .map_irq hook can now be called after init. Signed-off-by: Felix Fietkau --- diff --git a/target/linux/ramips/patches-4.14/0004-MIPS-ralink-add-MT7621-pcie-driver.patch b/target/linux/ramips/patches-4.14/0004-MIPS-ralink-add-MT7621-pcie-driver.patch index 0c96d6b984..b6f1ce93f4 100644 --- a/target/linux/ramips/patches-4.14/0004-MIPS-ralink-add-MT7621-pcie-driver.patch +++ b/target/linux/ramips/patches-4.14/0004-MIPS-ralink-add-MT7621-pcie-driver.patch @@ -387,7 +387,7 @@ Signed-off-by: John Crispin +} + + -+int __init ++int +pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) +{ + u16 cmd;