aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message/i2o/exec-osm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/message/i2o/exec-osm.c')
-rw-r--r--drivers/message/i2o/exec-osm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/message/i2o/exec-osm.c b/drivers/message/i2o/exec-osm.c
index 1b7389876e70..bda2c62648ba 100644
--- a/drivers/message/i2o/exec-osm.c
+++ b/drivers/message/i2o/exec-osm.c
@@ -261,7 +261,7 @@ static int i2o_msg_post_wait_complete(struct i2o_controller *c, u32 m,
261 * 261 *
262 * Returns number of bytes printed into buffer. 262 * Returns number of bytes printed into buffer.
263 */ 263 */
264static ssize_t i2o_exec_show_vendor_id(struct device *d, char *buf) 264static ssize_t i2o_exec_show_vendor_id(struct device *d, struct device_attribute *attr, char *buf)
265{ 265{
266 struct i2o_device *dev = to_i2o_device(d); 266 struct i2o_device *dev = to_i2o_device(d);
267 u16 id; 267 u16 id;
@@ -281,7 +281,7 @@ static ssize_t i2o_exec_show_vendor_id(struct device *d, char *buf)
281 * 281 *
282 * Returns number of bytes printed into buffer. 282 * Returns number of bytes printed into buffer.
283 */ 283 */
284static ssize_t i2o_exec_show_product_id(struct device *d, char *buf) 284static ssize_t i2o_exec_show_product_id(struct device *d, struct device_attribute *attr, char *buf)
285{ 285{
286 struct i2o_device *dev = to_i2o_device(d); 286 struct i2o_device *dev = to_i2o_device(d);
287 u16 id; 287 u16 id;