aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2019-11-05 14:21:31 +0100
committerFelix Fietkau <nbd@nbd.name>2019-11-05 14:22:01 +0100
commitfa37dbbc43db23a0ce7256f47943f38a1dcc9027 (patch)
tree12b57169695ac56f265254feb0a8997b9f429337 /package/kernel
parent443ba75c4ecbf1439f8d988a0e44b7597150a495 (diff)
downloadupstream-fa37dbbc43db23a0ce7256f47943f38a1dcc9027.tar.gz
upstream-fa37dbbc43db23a0ce7256f47943f38a1dcc9027.tar.bz2
upstream-fa37dbbc43db23a0ce7256f47943f38a1dcc9027.zip
mac80211: fix build without CONFIG_PCI
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/mac80211/patches/build/101-backport-add-pci_disable_link_state-wrapper-with-ret.patch2
1 files changed, 1 insertions, 1 deletions
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 cae20f5dc3..a41879184b 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
@@ -15,7 +15,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
(PCI_IRQ_LEGACY | PCI_IRQ_MSI | PCI_IRQ_MSIX)
#endif
-+#if LINUX_VERSION_IS_LESS(5,3,0)
++#if defined(CONFIG_PCI) && LINUX_VERSION_IS_LESS(5,3,0)
+
+static inline int
+LINUX_BACKPORT(pci_disable_link_state)(struct pci_dev *pdev, int state)