llseek: automatically add .llseek fop
[sfrench/cifs-2.6.git] / drivers / char / lp.c
index 938a3a2738866c71e42b7d8112b29966cdf3417c..d2344117eaf5d0e454d61a3c542c0b0f2b4dc069 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 ----------------- */