Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
[linux-2.6.git] / samples / kfifo / bytestream-example.c
index 178061e87ffe47d39ac97a247071d896ff080e8a..cfe40addda764f9a1353cb29eb6a11b551a1eec9 100644 (file)
@@ -148,6 +148,7 @@ static const struct file_operations fifo_fops = {
        .owner          = THIS_MODULE,
        .read           = fifo_read,
        .write          = fifo_write,
        .owner          = THIS_MODULE,
        .read           = fifo_read,
        .write          = fifo_write,
+       .llseek         = noop_llseek,
 };
 
 static int __init example_init(void)
 };
 
 static int __init example_init(void)