summaryrefslogtreecommitdiff
path: root/drivers/message/i2o/bus-osm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/message/i2o/bus-osm.c')
-rw-r--r--drivers/message/i2o/bus-osm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/message/i2o/bus-osm.c b/drivers/message/i2o/bus-osm.c
index d43c35894ae9..151b228e1cb3 100644
--- a/drivers/message/i2o/bus-osm.c
+++ b/drivers/message/i2o/bus-osm.c
@@ -59,7 +59,7 @@ static int i2o_bus_scan(struct i2o_device *dev)
*
* Returns count.
*/
-static ssize_t i2o_bus_store_scan(struct device *d, const char *buf,
+static ssize_t i2o_bus_store_scan(struct device *d, struct device_attribute *attr, const char *buf,
size_t count)
{
struct i2o_device *i2o_dev = to_i2o_device(d);