diff options
Diffstat (limited to 'drivers/w1/slaves/w1_ds2760.c')
-rw-r--r-- | drivers/w1/slaves/w1_ds2760.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/w1/slaves/w1_ds2760.c b/drivers/w1/slaves/w1_ds2760.c index 88a37fbccc3f..1f2b1a4d5fb3 100644 --- a/drivers/w1/slaves/w1_ds2760.c +++ b/drivers/w1/slaves/w1_ds2760.c | |||
@@ -68,8 +68,8 @@ int w1_ds2760_write(struct device *dev, char *buf, int addr, size_t count) | |||
68 | return w1_ds2760_io(dev, buf, addr, count, 1); | 68 | return w1_ds2760_io(dev, buf, addr, count, 1); |
69 | } | 69 | } |
70 | 70 | ||
71 | static ssize_t w1_ds2760_read_bin(struct kobject *kobj, char *buf, loff_t off, | 71 | static ssize_t w1_ds2760_read_bin(struct kobject *kobj, struct bin_attribute *attr, |
72 | size_t count) | 72 | char *buf, loff_t off, size_t count) |
73 | { | 73 | { |
74 | struct device *dev = container_of(kobj, struct device, kobj); | 74 | struct device *dev = container_of(kobj, struct device, kobj); |
75 | return w1_ds2760_read(dev, buf, off, count); | 75 | return w1_ds2760_read(dev, buf, off, count); |