]> git.pld-linux.org Git - packages/dahdi-linux.git/blame - kernel-4.14.patch
- fix building kernel modules on x86
[packages/dahdi-linux.git] / kernel-4.14.patch
CommitLineData
10f904f3
JR
1--- dahdi-linux-3.0.0/include/dahdi/kernel.h~ 2018-11-15 15:03:40.000000000 +0100
2+++ dahdi-linux-3.0.0/include/dahdi/kernel.h 2019-03-10 20:14:29.249473418 +0100
3@@ -1406,9 +1406,13 @@
4
5 #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 0)
6
7+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 104)
8 #ifndef TIMER_DATA_TYPE
9 #define TIMER_DATA_TYPE unsigned long
10 #endif
11+#else
12+#define TIMER_DATA_TYPE struct timer_list *
13+#endif
14
15 #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 13, 0)
16
This page took 0.135443 seconds and 4 git commands to generate.