diff options
author | Yani Ioannou <yani.ioannou@gmail.com> | 2005-05-17 06:43:27 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-20 18:15:34 -0400 |
commit | 3fd3c0a5f53a0f9d8987b90acbd84f7dd8ef606e (patch) | |
tree | 46a9050abe4c11375a78b51f07e524682722bf70 /drivers/s390/cio/device.c | |
parent | e404e274f62665f3333d6a539d0d3701f678a598 (diff) |
[PATCH] Driver Core: drivers/char/raw3270.c - drivers/net/netiucv.c: update device attribute callbacks
Signed-off-by: Yani Ioannou <yani.ioannou@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/s390/cio/device.c')
-rw-r--r-- | drivers/s390/cio/device.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/s390/cio/device.c b/drivers/s390/cio/device.c index df0325505e4e..809e1108a06e 100644 --- a/drivers/s390/cio/device.c +++ b/drivers/s390/cio/device.c | |||
@@ -204,7 +204,7 @@ module_exit(cleanup_ccw_bus_type); | |||
204 | * TODO: Split chpids and pimpampom up? Where is "in use" in the tree? | 204 | * TODO: Split chpids and pimpampom up? Where is "in use" in the tree? |
205 | */ | 205 | */ |
206 | static ssize_t | 206 | static ssize_t |
207 | chpids_show (struct device * dev, char * buf) | 207 | chpids_show (struct device * dev, struct device_attribute *attr, char * buf) |
208 | { | 208 | { |
209 | struct subchannel *sch = to_subchannel(dev); | 209 | struct subchannel *sch = to_subchannel(dev); |
210 | struct ssd_info *ssd = &sch->ssd_info; | 210 | struct ssd_info *ssd = &sch->ssd_info; |
@@ -219,7 +219,7 @@ chpids_show (struct device * dev, char * buf) | |||
219 | } | 219 | } |
220 | 220 | ||
221 | static ssize_t | 221 | static ssize_t |
222 | pimpampom_show (struct device * dev, char * buf) | 222 | pimpampom_show (struct device * dev, struct device_attribute *attr, char * buf) |
223 | { | 223 | { |
224 | struct subchannel *sch = to_subchannel(dev); | 224 | struct subchannel *sch = to_subchannel(dev); |
225 | struct pmcw *pmcw = &sch->schib.pmcw; | 225 | struct pmcw *pmcw = &sch->schib.pmcw; |
@@ -229,7 +229,7 @@ pimpampom_show (struct device * dev, char * buf) | |||
229 | } | 229 | } |
230 | 230 | ||
231 | static ssize_t | 231 | static ssize_t |
232 | devtype_show (struct device *dev, char *buf) | 232 | devtype_show (struct device *dev, struct device_attribute *attr, char *buf) |
233 | { | 233 | { |
234 | struct ccw_device *cdev = to_ccwdev(dev); | 234 | struct ccw_device *cdev = to_ccwdev(dev); |
235 | struct ccw_device_id *id = &(cdev->id); | 235 | struct ccw_device_id *id = &(cdev->id); |
@@ -242,7 +242,7 @@ devtype_show (struct device *dev, char *buf) | |||
242 | } | 242 | } |
243 | 243 | ||
244 | static ssize_t | 244 | static ssize_t |
245 | cutype_show (struct device *dev, char *buf) | 245 | cutype_show (struct device *dev, struct device_attribute *attr, char *buf) |
246 | { | 246 | { |
247 | struct ccw_device *cdev = to_ccwdev(dev); | 247 | struct ccw_device *cdev = to_ccwdev(dev); |
248 | struct ccw_device_id *id = &(cdev->id); | 248 | struct ccw_device_id *id = &(cdev->id); |
@@ -252,7 +252,7 @@ cutype_show (struct device *dev, char *buf) | |||
252 | } | 252 | } |
253 | 253 | ||
254 | static ssize_t | 254 | static ssize_t |
255 | online_show (struct device *dev, char *buf) | 255 | online_show (struct device *dev, struct device_attribute *attr, char *buf) |
256 | { | 256 | { |
257 | struct ccw_device *cdev = to_ccwdev(dev); | 257 | struct ccw_device *cdev = to_ccwdev(dev); |
258 | 258 | ||
@@ -350,7 +350,7 @@ ccw_device_set_online(struct ccw_device *cdev) | |||
350 | } | 350 | } |
351 | 351 | ||
352 | static ssize_t | 352 | static ssize_t |
353 | online_store (struct device *dev, const char *buf, size_t count) | 353 | online_store (struct device *dev, struct device_attribute *attr, const char *buf, size_t count) |
354 | { | 354 | { |
355 | struct ccw_device *cdev = to_ccwdev(dev); | 355 | struct ccw_device *cdev = to_ccwdev(dev); |
356 | int i, force, ret; | 356 | int i, force, ret; |
@@ -422,7 +422,7 @@ online_store (struct device *dev, const char *buf, size_t count) | |||
422 | } | 422 | } |
423 | 423 | ||
424 | static ssize_t | 424 | static ssize_t |
425 | available_show (struct device *dev, char *buf) | 425 | available_show (struct device *dev, struct device_attribute *attr, char *buf) |
426 | { | 426 | { |
427 | struct ccw_device *cdev = to_ccwdev(dev); | 427 | struct ccw_device *cdev = to_ccwdev(dev); |
428 | struct subchannel *sch; | 428 | struct subchannel *sch; |