On K35, the bin_attribute structure was changed, causing a build
warning in the DS2781 w1 slave driver. Thsi patch fixes the warning
and the likely runtime error that would occur if something was
to try to read from the property.
Change-Id: I3a6ea8190a9f7e8ae8b85b25f79faa0574acc474
Signed-off-by: Greg Meiste <w30289@motorola.com>
return w1_ds2781_io(dev, buf, addr, count, 1);
}
EXPORT_SYMBOL(w1_ds2781_write);
-static ssize_t w1_ds2781_read_bin(struct kobject *kobj,
+static ssize_t w1_ds2781_read_bin(struct file *file, struct kobject *kobj,
struct bin_attribute *bin_attr,
char *buf, loff_t off, size_t count)
{