llseek: automatically add .llseek fop
[cascardo/linux.git] / drivers / char / lp.c
index 938a3a2..d234411 100644 (file)
@@ -748,6 +748,7 @@ static const struct file_operations lp_fops = {
 #ifdef CONFIG_PARPORT_1284
        .read           = lp_read,
 #endif
+       .llseek         = noop_llseek,
 };
 
 /* --- support for console on the line printer ----------------- */