diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-02-21 13:10:44 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2018-02-21 14:46:45 +0100 |
commit | 79f9cadd00d84860a4a41ec1ec1b277a2d94edea (patch) | |
tree | 40d18c75fe788b64ed677fc87fd3c058137c6d53 /target | |
parent | 9595a9e8d398476b1eaa5a541fb2c3bfece34587 (diff) | |
download | upstream-79f9cadd00d84860a4a41ec1ec1b277a2d94edea.tar.gz upstream-79f9cadd00d84860a4a41ec1ec1b277a2d94edea.tar.bz2 upstream-79f9cadd00d84860a4a41ec1ec1b277a2d94edea.zip |
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>
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ramips/patches-4.14/0004-MIPS-ralink-add-MT7621-pcie-driver.patch | 2 |
1 files changed, 1 insertions, 1 deletions
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 <blogic@openwrt.org> +} + + -+int __init ++int +pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) +{ + u16 cmd; |