]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/scsi/3w-xxxx.c
llseek: automatically add .llseek fop
[mirror_ubuntu-artful-kernel.git] / drivers / scsi / 3w-xxxx.c
index 30d735ad35b5ee9a4909c686be1b6b7d0172a559..5a23373060376f84e6b4202f3700ebcd8ae0ffc8 100644 (file)
@@ -1059,7 +1059,8 @@ static const struct file_operations tw_fops = {
        .owner          = THIS_MODULE,
        .unlocked_ioctl = tw_chrdev_ioctl,
        .open           = tw_chrdev_open,
-       .release        = NULL
+       .release        = NULL,
+       .llseek         = noop_llseek,
 };
 
 /* This function will free up device extension resources */