diff options
author | Yani Ioannou <yani.ioannou@gmail.com> | 2005-05-17 06:44:04 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-20 18:15:35 -0400 |
commit | 060b8845e6bea938d65ad6f89e83507e5ff4fec4 (patch) | |
tree | ba82ce7d7a532b045f02e29788ece53d6be693e6 /drivers/usb/storage/scsiglue.c | |
parent | 10523b3b82456e416cbaffcc24ea2246980aa746 (diff) |
[PATCH] Driver Core: drivers/usb/input/aiptek.c - drivers/zorro/zorro-sysfs.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/usb/storage/scsiglue.c')
-rw-r--r-- | drivers/usb/storage/scsiglue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/storage/scsiglue.c b/drivers/usb/storage/scsiglue.c index 1035b248eff4..e43eddc3d44b 100644 --- a/drivers/usb/storage/scsiglue.c +++ b/drivers/usb/storage/scsiglue.c | |||
@@ -398,7 +398,7 @@ US_DO_ALL_FLAGS | |||
398 | ***********************************************************************/ | 398 | ***********************************************************************/ |
399 | 399 | ||
400 | /* Output routine for the sysfs max_sectors file */ | 400 | /* Output routine for the sysfs max_sectors file */ |
401 | static ssize_t show_max_sectors(struct device *dev, char *buf) | 401 | static ssize_t show_max_sectors(struct device *dev, struct device_attribute *attr, char *buf) |
402 | { | 402 | { |
403 | struct scsi_device *sdev = to_scsi_device(dev); | 403 | struct scsi_device *sdev = to_scsi_device(dev); |
404 | 404 | ||
@@ -406,7 +406,7 @@ static ssize_t show_max_sectors(struct device *dev, char *buf) | |||
406 | } | 406 | } |
407 | 407 | ||
408 | /* Input routine for the sysfs max_sectors file */ | 408 | /* Input routine for the sysfs max_sectors file */ |
409 | static ssize_t store_max_sectors(struct device *dev, const char *buf, | 409 | static ssize_t store_max_sectors(struct device *dev, struct device_attribute *attr, const char *buf, |
410 | size_t count) | 410 | size_t count) |
411 | { | 411 | { |
412 | struct scsi_device *sdev = to_scsi_device(dev); | 412 | struct scsi_device *sdev = to_scsi_device(dev); |