llseek: automatically add .llseek fop
[firefly-linux-kernel-4.4.55.git] / drivers / s390 / char / vmcp.c
index 04e532eec032083912e05784f7c29d71f2244104..0e7cb1a841519cdeacedcb40a2eae43d36e71b62 100644 (file)
@@ -177,6 +177,7 @@ static const struct file_operations vmcp_fops = {
        .write          = vmcp_write,
        .unlocked_ioctl = vmcp_ioctl,
        .compat_ioctl   = vmcp_ioctl,
+       .llseek         = no_llseek,
 };
 
 static struct miscdevice vmcp_dev = {