llseek: automatically add .llseek fop
[linux-2.6-block.git] / net / atm / proc.c
index 6262aeae398e8a242eae84f70287b7f07f5768c3..f85da0779e5ee162015ae88aa00e48e2114aa5e3 100644 (file)
@@ -38,6 +38,7 @@ static ssize_t proc_dev_atm_read(struct file *file, char __user *buf,
 static const struct file_operations proc_atm_dev_ops = {
        .owner =        THIS_MODULE,
        .read =         proc_dev_atm_read,
+       .llseek =       noop_llseek,
 };
 
 static void add_stats(struct seq_file *seq, const char *aal,