+diff -urNp -x '*.orig' lin_tape-3.0.52.org/lin_tape_scsi_config.h lin_tape-3.0.52/lin_tape_scsi_config.h
+--- lin_tape-3.0.52.org/lin_tape_scsi_config.h 2021-02-24 22:06:04.671925441 +0100
++++ lin_tape-3.0.52/lin_tape_scsi_config.h 2021-02-24 22:06:04.715258642 +0100
+@@ -220,6 +220,7 @@ static int tape_open_proc(struct inode *
+ {
+ return single_open(file, tape_read_proc, NULL);
+ }
++#if LINUX_VERSION_CODE < KERNEL_VERSION(5,6,0)
+ static struct file_operations tape_proc_ops = {
+ .owner = THIS_MODULE,
+ .open = tape_open_proc,
+@@ -227,6 +228,14 @@ static struct file_operations tape_proc_
+ .llseek = seq_lseek,
+ .release = single_release,
+ };
++#else
++static struct proc_ops tape_proc_ops = {
++ .proc_open = tape_open_proc,
++ .proc_read = seq_read,
++ .proc_lseek = seq_lseek,
++ .proc_release = single_release,
++};
++#endif
+ #endif
+
+ int rd_pc_initial
+@@ -252,6 +261,7 @@ static int changer_open_proc(struct inod
+ {
+ return single_open(file, changer_read_proc, NULL);
+ }
++#if LINUX_VERSION_CODE < KERNEL_VERSION(5,6,0)
+ static struct file_operations changer_proc_ops = {
+ .owner = THIS_MODULE,
+ .open = changer_open_proc,
+@@ -259,6 +269,14 @@ static struct file_operations changer_pr
+ .llseek = seq_lseek,
+ .release = single_release,
+ };
++#else
++static struct proc_ops changer_proc_ops = {
++ .proc_open = changer_open_proc,
++ .proc_read = seq_read,
++ .proc_lseek = seq_lseek,
++ .proc_release = single_release,
++};
++#endif
+ #endif
+
+ static int status_read_proc
+@@ -270,6 +288,7 @@ static int status_open_proc(struct inode
+ {
+ return single_open(file, status_read_proc, NULL);
+ }
++#if LINUX_VERSION_CODE < KERNEL_VERSION(5,6,0)
+ static struct file_operations status_proc_ops = {
+ .owner = THIS_MODULE,
+ .open = status_open_proc,
+@@ -277,6 +296,14 @@ static struct file_operations status_pro
+ .llseek = seq_lseek,
+ .release = single_release,
+ };
++#else
++static struct proc_ops status_proc_ops = {
++ .proc_open = status_open_proc,
++ .proc_read = seq_read,
++ .proc_lseek = seq_lseek,
++ .proc_release = single_release,
++};
++#endif
+ #endif
+
+ int rdstatus_pc_initial