]> Pileus Git - ~andy/linux/blobdiff - drivers/zorro/zorro-sysfs.c
sysfs: add parameter "struct bin_attribute *" in .read/.write methods for sysfs binar...
[~andy/linux] / drivers / zorro / zorro-sysfs.c
index 7e03cc68b18297916d28a01b44b3ac63eaeb6013..9130f1c12c265887d02633ef932fe31fadc5526f 100644 (file)
@@ -49,8 +49,9 @@ static ssize_t zorro_show_resource(struct device *dev, struct device_attribute *
 
 static DEVICE_ATTR(resource, S_IRUGO, zorro_show_resource, NULL);
 
-static ssize_t zorro_read_config(struct kobject *kobj, char *buf, loff_t off,
-                                size_t count)
+static ssize_t zorro_read_config(struct kobject *kobj,
+                                struct bin_attribute *bin_attr,
+                                char *buf, loff_t off, size_t count)
 {
        struct zorro_dev *z = to_zorro_dev(container_of(kobj, struct device,
                                           kobj));