diff options
Diffstat (limited to 'drivers/oprofile/oprofilefs.c')
| -rw-r--r-- | drivers/oprofile/oprofilefs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/oprofile/oprofilefs.c b/drivers/oprofile/oprofilefs.c index 2766a6d3c2e9..6b6a1f71957d 100644 --- a/drivers/oprofile/oprofilefs.c +++ b/drivers/oprofile/oprofilefs.c | |||
| @@ -117,12 +117,14 @@ static const struct file_operations ulong_fops = { | |||
| 117 | .read = ulong_read_file, | 117 | .read = ulong_read_file, |
| 118 | .write = ulong_write_file, | 118 | .write = ulong_write_file, |
| 119 | .open = default_open, | 119 | .open = default_open, |
| 120 | .llseek = default_llseek, | ||
| 120 | }; | 121 | }; |
| 121 | 122 | ||
| 122 | 123 | ||
| 123 | static const struct file_operations ulong_ro_fops = { | 124 | static const struct file_operations ulong_ro_fops = { |
| 124 | .read = ulong_read_file, | 125 | .read = ulong_read_file, |
| 125 | .open = default_open, | 126 | .open = default_open, |
| 127 | .llseek = default_llseek, | ||
| 126 | }; | 128 | }; |
| 127 | 129 | ||
| 128 | 130 | ||
| @@ -183,6 +185,7 @@ static ssize_t atomic_read_file(struct file *file, char __user *buf, size_t coun | |||
| 183 | static const struct file_operations atomic_ro_fops = { | 185 | static const struct file_operations atomic_ro_fops = { |
| 184 | .read = atomic_read_file, | 186 | .read = atomic_read_file, |
| 185 | .open = default_open, | 187 | .open = default_open, |
| 188 | .llseek = default_llseek, | ||
| 186 | }; | 189 | }; |
| 187 | 190 | ||
| 188 | 191 | ||
