llseek: automatically add .llseek fop
[sfrench/cifs-2.6.git] / drivers / oprofile / oprofilefs.c
index 2766a6d3c2e9c8fe2f7ab2a2d1f3457275693f80..6b6a1f71957d13efab64ce9bd88a19ad2404c9a1 100644 (file)
@@ -117,12 +117,14 @@ static const struct file_operations ulong_fops = {
        .read           = ulong_read_file,
        .write          = ulong_write_file,
        .open           = default_open,
+       .llseek         = default_llseek,
 };
 
 
 static const struct file_operations ulong_ro_fops = {
        .read           = ulong_read_file,
        .open           = default_open,
+       .llseek         = default_llseek,
 };
 
 
@@ -183,6 +185,7 @@ static ssize_t atomic_read_file(struct file *file, char __user *buf, size_t coun
 static const struct file_operations atomic_ro_fops = {
        .read           = atomic_read_file,
        .open           = default_open,
+       .llseek         = default_llseek,
 };