DHDAXCW-Rockchip-OpenWrt/package/kernel/mac80211/patches/build/100-backports-pci-Include-linux-pci-aspm.h.patch
likanchen 49e1a7c9b2 Update mt76 wireless driver. (#2782)
* Update mt76 wireless driver

Update mt76 wireless driver

* Create 368-cfg80211-add-local-BSS-receive-time-to-survey-inform.patch

* add patch to include local BSS rx time in survey information

add patch to include local BSS rx time in survey information

* Create 100-backports-pci-Include-linux-pci-aspm.h.patch

* Create 101-backport-add-pci_disable_link_state-wrapper-with-ret.patch
2020-01-15 23:50:39 +08:00

14 lines
319 B
Diff

--- a/backport-include/linux/pci.h
+++ b/backport-include/linux/pci.h
@@ -3,6 +3,10 @@
#include_next <linux/pci.h>
#include <linux/version.h>
+#if LINUX_VERSION_IS_LESS(5,4,0)
+#include <linux/pci-aspm.h>
+#endif
+
#ifndef module_pci_driver
/**
* module_pci_driver() - Helper macro for registering a PCI driver