]> err.no Git - linux-2.6/blobdiff - drivers/w1/slaves/w1_ds2760.c
Merge branch 'task_killable' of git://git.kernel.org/pub/scm/linux/kernel/git/willy...
[linux-2.6] / drivers / w1 / slaves / w1_ds2760.c
index 15e7f9af3bc34d4d0b5a1f250c7aa43913e0c72c..ed6b0576208c27ca237670999ba328a267b350f9 100644 (file)
@@ -68,8 +68,9 @@ 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 *bin_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);