llseek: automatically add .llseek fop
[pandora-kernel.git] / samples / kfifo / bytestream-example.c
index 178061e..cfe40ad 100644 (file)
@@ -148,6 +148,7 @@ static const struct file_operations fifo_fops = {
        .owner          = THIS_MODULE,
        .read           = fifo_read,
        .write          = fifo_write,
+       .llseek         = noop_llseek,
 };
 
 static int __init example_init(void)