]> git.pld-linux.org Git - packages/dahdi-linux.git/blame - kernel-5.4.patch
- fix building kernel modules on x86
[packages/dahdi-linux.git] / kernel-5.4.patch
CommitLineData
cdd97bd2
JR
1--- dahdi-linux-3.1.0/include/dahdi/kernel.h~ 2019-11-30 23:36:28.000000000 +0100
2+++ dahdi-linux-3.1.0/include/dahdi/kernel.h 2019-11-30 23:36:58.436460522 +0100
3@@ -58,9 +58,11 @@
4
5 #include <linux/poll.h>
6
7+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 0)
8 #ifdef CONFIG_PCI
9 #include <linux/pci-aspm.h>
10 #endif
11+#endif
12
13 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
14 #define HAVE_NET_DEVICE_OPS
This page took 0.035136 seconds and 4 git commands to generate.