diff options
Diffstat (limited to 'drivers/w1/w1_family.h')
-rw-r--r-- | drivers/w1/w1_family.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/w1/w1_family.h b/drivers/w1/w1_family.h index 03a2de7a601f..07fa49412a90 100644 --- a/drivers/w1/w1_family.h +++ b/drivers/w1/w1_family.h | |||
@@ -34,10 +34,10 @@ | |||
34 | 34 | ||
35 | struct w1_family_ops | 35 | struct w1_family_ops |
36 | { | 36 | { |
37 | ssize_t (* rname)(struct device *, char *); | 37 | ssize_t (* rname)(struct device *, struct device_attribute *, char *); |
38 | ssize_t (* rbin)(struct kobject *, char *, loff_t, size_t); | 38 | ssize_t (* rbin)(struct kobject *, char *, loff_t, size_t); |
39 | 39 | ||
40 | ssize_t (* rval)(struct device *, char *); | 40 | ssize_t (* rval)(struct device *, struct device_attribute *, char *); |
41 | unsigned char rvalname[MAXNAMELEN]; | 41 | unsigned char rvalname[MAXNAMELEN]; |
42 | }; | 42 | }; |
43 | 43 | ||