File tree Expand file tree Collapse file tree 12 files changed +19
-71
lines changed
Expand file tree Collapse file tree 12 files changed +19
-71
lines changed Original file line number Diff line number Diff line change 8282
8383#include "hpec/hpec_user.h"
8484
85- /* Linux kernel 5.16 and greater has removed user-space headers from the kernel include path */
86- #if LINUX_VERSION_CODE >= KERNEL_VERSION (5 , 16 , 0 )
87- #include <asm/types.h>
88- #else
89- #include <stdbool.h>
90- #endif
91-
9285#if defined(EMPULSE ) && defined(EMFLASH )
9386#error "You cannot define both EMPULSE and EMFLASH"
9487#endif
Original file line number Diff line number Diff line change 3030#include <linux/timer.h>
3131#include "dahdi/kernel.h"
3232
33- /* Linux kernel 5.16 and greater has removed user-space headers from the kernel include path */
34- #if LINUX_VERSION_CODE >= KERNEL_VERSION (5 , 16 , 0 )
35- #include <asm/types.h>
36- #else
37- #include <stdbool.h>
38- #endif
39-
4033#define VPMOCT_FIRM_HEADER_LEN 32
4134#define VPMOCT_BOOT_RAM_LEN 128
4235#define VPMOCT_FLASH_BUF_SECTIONS 4
Original file line number Diff line number Diff line change 3434#include <linux/firmware.h>
3535#include <linux/crc32.h>
3636
37- /* Linux kernel 5.16 and greater has removed user-space headers from the kernel include path */
38- #if LINUX_VERSION_CODE >= KERNEL_VERSION (5 , 16 , 0 )
39- #include <asm/types.h>
40- #else
41- #include <stdbool.h>
42- #endif
43-
4437#if LINUX_VERSION_CODE >= KERNEL_VERSION (2 , 6 , 30 )
4538/* Define this if you would like to load the modules in parallel. While this
4639 * can speed up loads when multiple cards handled by this driver are installed,
Original file line number Diff line number Diff line change 4242#include <linux/crc32.h>
4343#include <linux/slab.h>
4444
45- /* Linux kernel 5.16 and greater has removed user-space headers from the kernel include path */
46- #if LINUX_VERSION_CODE >= KERNEL_VERSION (5 , 16 , 0 )
47- #include <asm/types.h>
48- #else
49- #include <stdbool.h>
50- #endif
51-
5245#include <dahdi/kernel.h>
5346
5447#include "wct4xxp.h"
Original file line number Diff line number Diff line change 2929
3030#include <dahdi/kernel.h>
3131
32- /* Linux kernel 5.16 and greater has removed user-space headers from the kernel include path */
33- #if LINUX_VERSION_CODE >= KERNEL_VERSION (5 , 16 , 0 )
34- #include <asm/types.h>
35- #else
36- #include <stdbool.h>
37- #endif
38-
3932#include "vpm450m.h"
4033#include <oct612x.h>
4134
Original file line number Diff line number Diff line change 4040#include <linux/timer.h>
4141#include <dahdi/kernel.h>
4242
43- /* Linux kernel 5.16 and greater has removed user-space headers from the kernel include path */
44- #if LINUX_VERSION_CODE >= KERNEL_VERSION (5 , 16 , 0 )
45- #include <asm/types.h>
46- #else
47- #include <stdbool.h>
48- #endif
49-
50-
5143#if LINUX_VERSION_CODE >= KERNEL_VERSION (4 , 11 , 0 )
5244#include <linux/sched/signal.h>
5345#endif /* 4.11.0 */
Original file line number Diff line number Diff line change @@ -54,13 +54,6 @@ Tx Gain - W/Pre-Emphasis: -23.99 to 0.00 db
5454#include <linux/crc32.h>
5555#include <linux/slab.h>
5656
57- /* Linux kernel 5.16 and greater has removed user-space headers from the kernel include path */
58- #if LINUX_VERSION_CODE >= KERNEL_VERSION (5 , 16 , 0 )
59- #include <asm/types.h>
60- #else
61- #include <stdbool.h>
62- #endif
63-
6457#if LINUX_VERSION_CODE >= KERNEL_VERSION (2 , 6 , 30 )
6558/* Define this if you would like to load the modules in parallel. While this
6659 * can speed up loads when multiple cards handled by this driver are installed,
Original file line number Diff line number Diff line change 3636#include <linux/crc32.h>
3737#include <dahdi/kernel.h>
3838
39- /* Linux kernel 5.16 and greater has removed user-space headers from the kernel include path */
40- #if LINUX_VERSION_CODE >= KERNEL_VERSION (5 , 16 , 0 )
41- #include <asm/types.h>
42- #else
43- #include <stdbool.h>
44- #endif
45-
4639#include "wct4xxp/wct4xxp.h" /* For certain definitions */
4740#include "wcxb.h"
4841#include "wcxb_spi.h"
Original file line number Diff line number Diff line change 4343#include <linux/firmware.h>
4444#include <oct612x.h>
4545
46- /* Linux kernel 5.16 and greater has removed user-space headers from the kernel include path */
47- #if LINUX_VERSION_CODE >= KERNEL_VERSION (5 , 16 , 0 )
48- #include <asm/types.h>
49- #else
50- #include <stdbool.h>
51- #endif
52-
5346#include <dahdi/kernel.h>
5447
5548#if LINUX_VERSION_CODE >= KERNEL_VERSION (4 , 11 , 0 )
Original file line number Diff line number Diff line change 3636
3737#include <dahdi/kernel.h>
3838
39- /* Linux kernel 5.16 and greater has removed user-space headers from the kernel include path */
40- #if LINUX_VERSION_CODE >= KERNEL_VERSION (5 , 16 , 0 )
41- #include <asm/types.h>
42- #else
43- #include <stdbool.h>
44- #endif
45-
4639#include "wcxb.h"
4740#include "wcxb_spi.h"
4841#include "wcxb_flash.h"
You can’t perform that action at this time.
0 commit comments