summaryrefslogtreecommitdiff
path: root/samples/kfifo/bytestream-example.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/kfifo/bytestream-example.c')
-rw-r--r--samples/kfifo/bytestream-example.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/kfifo/bytestream-example.c b/samples/kfifo/bytestream-example.c
index 178061e87ffe..cfe40addda76 100644
--- a/samples/kfifo/bytestream-example.c
+++ b/samples/kfifo/bytestream-example.c
@@ -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)