diff options
Diffstat (limited to 'drivers/zorro/zorro-sysfs.c')
-rw-r--r-- | drivers/zorro/zorro-sysfs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/zorro/zorro-sysfs.c b/drivers/zorro/zorro-sysfs.c index 7e03cc68b182..9130f1c12c26 100644 --- a/drivers/zorro/zorro-sysfs.c +++ b/drivers/zorro/zorro-sysfs.c | |||
@@ -49,8 +49,9 @@ static ssize_t zorro_show_resource(struct device *dev, struct device_attribute * | |||
49 | 49 | ||
50 | static DEVICE_ATTR(resource, S_IRUGO, zorro_show_resource, NULL); | 50 | static DEVICE_ATTR(resource, S_IRUGO, zorro_show_resource, NULL); |
51 | 51 | ||
52 | static ssize_t zorro_read_config(struct kobject *kobj, char *buf, loff_t off, | 52 | static ssize_t zorro_read_config(struct kobject *kobj, |
53 | size_t count) | 53 | struct bin_attribute *bin_attr, |
54 | char *buf, loff_t off, size_t count) | ||
54 | { | 55 | { |
55 | struct zorro_dev *z = to_zorro_dev(container_of(kobj, struct device, | 56 | struct zorro_dev *z = to_zorro_dev(container_of(kobj, struct device, |
56 | kobj)); | 57 | kobj)); |