diff options
Diffstat (limited to 'samples/kfifo/record-example.c')
-rw-r--r-- | samples/kfifo/record-example.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/kfifo/record-example.c b/samples/kfifo/record-example.c index e68bd16a5da4..2d7529eeb294 100644 --- a/samples/kfifo/record-example.c +++ b/samples/kfifo/record-example.c | |||
@@ -155,6 +155,7 @@ static const struct file_operations fifo_fops = { | |||
155 | .owner = THIS_MODULE, | 155 | .owner = THIS_MODULE, |
156 | .read = fifo_read, | 156 | .read = fifo_read, |
157 | .write = fifo_write, | 157 | .write = fifo_write, |
158 | .llseek = noop_llseek, | ||
158 | }; | 159 | }; |
159 | 160 | ||
160 | static int __init example_init(void) | 161 | static int __init example_init(void) |