[openwrt/openwrt] ramips: fix MT7621 PCI driver on 4.14
LEDE Commits
lede-commits at lists.infradead.org
Wed Feb 21 05:47:21 PST 2018
nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/79f9cadd00d84860a4a41ec1ec1b277a2d94edea
commit 79f9cadd00d84860a4a41ec1ec1b277a2d94edea
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Wed Feb 21 13:10:44 2018 +0100
ramips: fix MT7621 PCI driver on 4.14
The .map_irq hook can now be called after init.
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
.../ramips/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 0c96d6b..b6f1ce9 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 <blogic at openwrt.org>
+}
+
+
-+int __init
++int
+pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
+{
+ u16 cmd;
More information about the lede-commits
mailing list