sysfs: add struct file* to bin_attr callbacks
[safe/jmp/linux-2.6] / net / bridge / br_sysfs_br.c
index dd321e3..486b8f3 100644 (file)
@@ -659,7 +659,7 @@ static struct attribute_group bridge_group = {
  *
  * Returns the number of bytes read.
  */
-static ssize_t brforward_read(struct kobject *kobj,
+static ssize_t brforward_read(struct file *filp, struct kobject *kobj,
                              struct bin_attribute *bin_attr,
                              char *buf, loff_t off, size_t count)
 {