b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 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 |