1 --- a/src/include/drv_dsl_cpe_device_danube.h
2 +++ b/src/include/drv_dsl_cpe_device_danube.h
4 #include "drv_dsl_cpe_simulator_danube.h"
6 /* Include for the low level driver interface header file */
7 -#include "asm/ifx/ifx_mei_bsp.h"
8 +#include "mei/ifxmips_mei_interface.h"
9 #endif /* defined(DSL_CPE_SIMULATOR_DRIVER) && defined(WIN32)*/
11 #define DSL_MAX_LINE_NUMBER 1
12 --- a/src/common/drv_dsl_cpe_os_linux.c
13 +++ b/src/common/drv_dsl_cpe_os_linux.c
18 +#include <linux/device.h>
20 #include "drv_dsl_cpe_api.h"
21 #include "drv_dsl_cpe_api_ioctl.h"
24 release: DSL_DRV_Release,
26 - ioctl: DSL_DRV_Ioctls,
27 + unlocked_ioctl: DSL_DRV_Ioctls,
32 /* Entry point of driver */
33 int __init DSL_ModuleInit(void)
35 + struct class *dsl_class;
38 printk(DSL_DRV_CRLF DSL_DRV_CRLF "Infineon CPE API Driver version: %s" DSL_DRV_CRLF,
42 DSL_DRV_DevNodeInit();
44 + dsl_class = class_create(THIS_MODULE, "dsl_cpe_api");
45 + device_create(dsl_class, NULL, MKDEV(DRV_DSL_CPE_API_DEV_MAJOR, 0), NULL, "dsl_cpe_api");
49 --- a/src/include/drv_dsl_cpe_os_linux.h
50 +++ b/src/include/drv_dsl_cpe_os_linux.h
54 #include <asm/ioctl.h>
55 -#include <linux/autoconf.h>
56 +#include <generated/autoconf.h>
57 #include <linux/module.h>
58 #include <linux/kernel.h>
59 #include <linux/init.h>
60 #include <linux/ctype.h>
61 #include <linux/version.h>
62 #include <linux/spinlock.h>
64 +#include <linux/sched.h>
66 #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,17))
67 - #include <linux/utsrelease.h>
68 + #include <generated/utsrelease.h>
71 #include <linux/types.h>