diff options
Diffstat (limited to 'drivers/rapidio/rio-sysfs.c')
-rw-r--r-- | drivers/rapidio/rio-sysfs.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/rapidio/rio-sysfs.c b/drivers/rapidio/rio-sysfs.c index ba742e82c57d..00b475658356 100644 --- a/drivers/rapidio/rio-sysfs.c +++ b/drivers/rapidio/rio-sysfs.c | |||
@@ -68,7 +68,8 @@ struct device_attribute rio_dev_attrs[] = { | |||
68 | }; | 68 | }; |
69 | 69 | ||
70 | static ssize_t | 70 | static ssize_t |
71 | rio_read_config(struct kobject *kobj, struct bin_attribute *bin_attr, | 71 | rio_read_config(struct file *filp, struct kobject *kobj, |
72 | struct bin_attribute *bin_attr, | ||
72 | char *buf, loff_t off, size_t count) | 73 | char *buf, loff_t off, size_t count) |
73 | { | 74 | { |
74 | struct rio_dev *dev = | 75 | struct rio_dev *dev = |
@@ -139,7 +140,8 @@ rio_read_config(struct kobject *kobj, struct bin_attribute *bin_attr, | |||
139 | } | 140 | } |
140 | 141 | ||
141 | static ssize_t | 142 | static ssize_t |
142 | rio_write_config(struct kobject *kobj, struct bin_attribute *bin_attr, | 143 | rio_write_config(struct file *filp, struct kobject *kobj, |
144 | struct bin_attribute *bin_attr, | ||
143 | char *buf, loff_t off, size_t count) | 145 | char *buf, loff_t off, size_t count) |
144 | { | 146 | { |
145 | struct rio_dev *dev = | 147 | struct rio_dev *dev = |