llseek: automatically add .llseek fop
[deliverable/linux.git] / drivers / char / misc.c
index abdafd48898029324d21153637bb3af4925e0fe3..778273c93242f5efbd1629a0f7c9d102ed907b4a 100644 (file)
@@ -162,6 +162,7 @@ static struct class *misc_class;
 static const struct file_operations misc_fops = {
        .owner          = THIS_MODULE,
        .open           = misc_open,
+       .llseek         = noop_llseek,
 };
 
 /**
This page took 0.031818 seconds and 5 git commands to generate.