diff options
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_fs.c')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_fs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_fs.c b/drivers/infiniband/hw/ipath/ipath_fs.c index 2fca70836da..d13e72685dc 100644 --- a/drivers/infiniband/hw/ipath/ipath_fs.c +++ b/drivers/infiniband/hw/ipath/ipath_fs.c | |||
@@ -103,6 +103,7 @@ static ssize_t atomic_stats_read(struct file *file, char __user *buf, | |||
103 | 103 | ||
104 | static const struct file_operations atomic_stats_ops = { | 104 | static const struct file_operations atomic_stats_ops = { |
105 | .read = atomic_stats_read, | 105 | .read = atomic_stats_read, |
106 | .llseek = default_llseek, | ||
106 | }; | 107 | }; |
107 | 108 | ||
108 | static ssize_t atomic_counters_read(struct file *file, char __user *buf, | 109 | static ssize_t atomic_counters_read(struct file *file, char __user *buf, |
@@ -120,6 +121,7 @@ static ssize_t atomic_counters_read(struct file *file, char __user *buf, | |||
120 | 121 | ||
121 | static const struct file_operations atomic_counters_ops = { | 122 | static const struct file_operations atomic_counters_ops = { |
122 | .read = atomic_counters_read, | 123 | .read = atomic_counters_read, |
124 | .llseek = default_llseek, | ||
123 | }; | 125 | }; |
124 | 126 | ||
125 | static ssize_t flash_read(struct file *file, char __user *buf, | 127 | static ssize_t flash_read(struct file *file, char __user *buf, |
@@ -224,6 +226,7 @@ bail: | |||
224 | static const struct file_operations flash_ops = { | 226 | static const struct file_operations flash_ops = { |
225 | .read = flash_read, | 227 | .read = flash_read, |
226 | .write = flash_write, | 228 | .write = flash_write, |
229 | .llseek = default_llseek, | ||
227 | }; | 230 | }; |
228 | 231 | ||
229 | static int create_device_files(struct super_block *sb, | 232 | static int create_device_files(struct super_block *sb, |