OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | --- a/src/drv_tapi_linux.c |
2 | +++ b/src/drv_tapi_linux.c |
||
3 | @@ -54,6 +54,10 @@ |
||
4 | #include <linux/workqueue.h> /* LINUX 2.6 We need work_struct */ |
||
5 | #include <linux/device.h> |
||
6 | #include <linux/sched.h> |
||
7 | +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,11,0)) |
||
8 | + #include <linux/sched/signal.h> |
||
9 | + #include <linux/sched/types.h> |
||
10 | +#endif |
||
11 | #undef CONFIG_DEVFS_FS |
||
12 | #ifndef UTS_RELEASE |
||
13 | #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)) |
||
14 | @@ -184,7 +188,7 @@ MODULE_PARM_DESC(block_egress_tasklet, " |
||
15 | MODULE_PARM_DESC(block_ingress_tasklet, "block the execution of the ingress tasklet, i.e. force to use the RT kernel thread"); |
||
16 | |||
17 | /** The driver callbacks which will be registered with the kernel*/ |
||
18 | -static struct file_operations tapi_fops = {0}; |
||
19 | +static struct file_operations tapi_fops; |
||
20 | |||
21 | /* ============================= */ |
||
22 | /* Global function definition */ |