aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/w1/slaves/w1_ds2760.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-07-15 21:01:22 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-15 16:40:52 -0700
commit05bd711ea2862cb1c754903326b7858bc700b2e9 (patch)
treeaec7cdf2fee4576ff2563090ba8907bc10a68713 /drivers/w1/slaves/w1_ds2760.c
parentfallout from constified seq_operations (diff)
downloadlinux-dev-05bd711ea2862cb1c754903326b7858bc700b2e9.tar.xz
linux-dev-05bd711ea2862cb1c754903326b7858bc700b2e9.zip
missing argument in bin_attribute ->read()/->write()
Fallout from commit 91a6902958f052358899f58683d44e36228d85c2 ('sysfs: add parameter "struct bin_attribute *" ...') Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/w1/slaves/w1_ds2760.c4
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)
return w1_ds2760_io(dev, buf, addr, count, 1);
}
-static ssize_t w1_ds2760_read_bin(struct kobject *kobj, char *buf, loff_t off,
- size_t count)
+static ssize_t w1_ds2760_read_bin(struct kobject *kobj, struct bin_attribute *attr,
+ char *buf, loff_t off, size_t count)
{
struct device *dev = container_of(kobj, struct device, kobj);
return w1_ds2760_read(dev, buf, off, count);