1 --- a/Embedded/src/CAN/can_main.c
2 +++ b/Embedded/src/CAN/can_main.c
7 +#include <linux/module.h>
10 MODULE_AUTHOR("Intel(R) Corporation");
11 @@ -110,7 +111,7 @@ struct file_operations file_ops = {
15 - .ioctl = can_dev_io,
16 + .unlocked_ioctl = can_dev_io,
18 .release = can_release
20 @@ -594,8 +595,7 @@ int icp_can_reset(can_os_t *can_os)
21 /*****************************************************************************
22 * Device IO control function. Used by user apps to configure CAN device.
23 *****************************************************************************/
24 -int can_dev_io(struct inode *inode, struct file *filp, unsigned int cmd,
26 +long can_dev_io(struct file *filp, unsigned int cmd, unsigned long arg)
30 --- a/Embedded/src/CAN/can_main.h
31 +++ b/Embedded/src/CAN/can_main.h
32 @@ -157,8 +157,7 @@ ssize_t can_write(
37 - struct inode *inode,