From 79f9cadd00d84860a4a41ec1ec1b277a2d94edea Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 21 Feb 2018 13:10:44 +0100 Subject: [PATCH] ramips: fix MT7621 PCI driver on 4.14 The .map_irq hook can now be called after init. Signed-off-by: Felix Fietkau --- .../patches-4.14/0004-MIPS-ralink-add-MT7621-pcie-driver.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1