sysfs: add struct file* to bin_attr callbacks
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / acpi / system.c
index e35525b39f6ba65095c544d517869a897e6470d9..c79e789ed03ae39a1c771e80586a1460546672a5 100644 (file)
@@ -71,7 +71,7 @@ struct acpi_table_attr {
        struct list_head node;
 };
 
-static ssize_t acpi_table_show(struct kobject *kobj,
+static ssize_t acpi_table_show(struct file *filp, struct kobject *kobj,
                               struct bin_attribute *bin_attr, char *buf,
                               loff_t offset, size_t count)
 {