+@@ -1479,7 +1483,11 @@ struct proc_entry {
+ char name[32];
+ proc_rd_callback_t rd;
+ proc_wr_callback_t wr;
++#if (LINUX_VERSION_CODE < KERNEL_VERSION(5,6,0))
+ struct file_operations ops;
++#else
++ struct proc_ops ops;
++#endif
+ int entity;
+ };
+
+@@ -1869,6 +1877,7 @@ static int mei_proc_single_open(struct i
+ static void mei_proc_entry_create(struct proc_dir_entry *parent_node,
+ struct proc_entry *proc_entry)
+ {
++#if (LINUX_VERSION_CODE < KERNEL_VERSION(5,6,0))
+ memset(&proc_entry->ops, 0, sizeof(struct file_operations));
+ proc_entry->ops.owner = THIS_MODULE;
+
+@@ -1879,6 +1888,17 @@ static void mei_proc_entry_create(struct
+ proc_entry->ops.llseek = seq_lseek;
+ if (proc_entry->wr)
+ proc_entry->ops.write = proc_entry->wr;
++#else
++ memset(&proc_entry->ops, 0, sizeof(struct proc_ops));
++
++ proc_entry->ops.proc_open = mei_proc_single_open;
++ proc_entry->ops.proc_release = single_release;
++
++ proc_entry->ops.proc_read = seq_read;
++ proc_entry->ops.proc_lseek = seq_lseek;
++ if (proc_entry->wr)
++ proc_entry->ops.proc_write = proc_entry->wr;
++#endif
+
+ proc_create_data(proc_entry->name,
+ (S_IFREG | S_IRUGO),
+@@ -2174,9 +2194,11 @@ static int MEI_module_init (void)