diff --git a/package/kernel/mac80211/patches/build/100-backports-pci-Include-linux-pci-aspm.h.patch b/package/kernel/mac80211/patches/build/100-backports-pci-Include-linux-pci-aspm.h.patch index 5faeb96748..91740a62b9 100644 --- a/package/kernel/mac80211/patches/build/100-backports-pci-Include-linux-pci-aspm.h.patch +++ b/package/kernel/mac80211/patches/build/100-backports-pci-Include-linux-pci-aspm.h.patch @@ -11,9 +11,9 @@ Signed-off-by: Hauke Mehrtens --- a/backport-include/linux/pci.h +++ b/backport-include/linux/pci.h -@@ -3,6 +3,10 @@ - #include_next - #include +@@ -7,6 +7,10 @@ + #include + #endif +#if LINUX_VERSION_IS_LESS(5,4,0) +#include diff --git a/package/kernel/mac80211/patches/build/101-backport-add-pci_disable_link_state-wrapper-with-ret.patch b/package/kernel/mac80211/patches/build/101-backport-add-pci_disable_link_state-wrapper-with-ret.patch index a41879184b..7691522e73 100644 --- a/package/kernel/mac80211/patches/build/101-backport-add-pci_disable_link_state-wrapper-with-ret.patch +++ b/package/kernel/mac80211/patches/build/101-backport-add-pci_disable_link_state-wrapper-with-ret.patch @@ -11,7 +11,7 @@ Signed-off-by: Felix Fietkau --- a/backport-include/linux/pci.h +++ b/backport-include/linux/pci.h -@@ -236,4 +236,29 @@ static inline struct pci_dev *pcie_find_ +@@ -240,4 +240,29 @@ static inline struct pci_dev *pcie_find_ (PCI_IRQ_LEGACY | PCI_IRQ_MSI | PCI_IRQ_MSIX) #endif