X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=drivers%2Fzorro%2Fzorro-sysfs.c;fp=drivers%2Fzorro%2Fzorro-sysfs.c;h=9130f1c12c265887d02633ef932fe31fadc5526f;hb=91a6902958f052358899f58683d44e36228d85c2;hp=7e03cc68b18297916d28a01b44b3ac63eaeb6013;hpb=51225039f3cf9d250596d1344494b293274b9169;p=~andy%2Flinux diff --git a/drivers/zorro/zorro-sysfs.c b/drivers/zorro/zorro-sysfs.c index 7e03cc68b18..9130f1c12c2 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 * 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));