9e2245c020b5490d8c23865a5d403d0bd4753f97
[feed/telephony.git] / libs / dahdi-linux / patches / 120-pci-header.patch
1 --- a/include/dahdi/kernel.h
2 +++ b/include/dahdi/kernel.h
3 @@ -59,8 +59,10 @@
4 #include <linux/poll.h>
5
6 #ifdef CONFIG_PCI
7 +#if LINUX_VERSION_CODE < KERNEL_VERSION(5,4,0)
8 #include <linux/pci-aspm.h>
9 #endif
10 +#endif
11
12 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
13 #define HAVE_NET_DEVICE_OPS