llseek: automatically add .llseek fop
[deliverable/linux.git] / drivers / char / nwbutton.c
index 2604246501e499eda6568527e4c64d8b5a13bc48..8994ce32e6c70046c2658d69a4bc4e828636c43a 100644 (file)
@@ -182,6 +182,7 @@ static int button_read (struct file *filp, char __user *buffer,
 static const struct file_operations button_fops = {
        .owner          = THIS_MODULE,
        .read           = button_read,
+       .llseek         = noop_llseek,
 };
 
 /* 
This page took 0.024613 seconds and 5 git commands to generate.