usb: gadget: f_ncm: add configfs support
[firefly-linux-kernel-4.4.55.git] / drivers / zorro / zorro-sysfs.c
index eb924e0a64ce798788e72ce87f4b6937d94d8239..26f7184ef9e1a19cb47890bcbfaa124c6c34912b 100644 (file)
@@ -49,7 +49,7 @@ 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,
+static ssize_t zorro_read_config(struct file *filp, struct kobject *kobj,
                                 struct bin_attribute *bin_attr,
                                 char *buf, loff_t off, size_t count)
 {