diff options
Diffstat (limited to 'drivers/w1/w1_family.h')
-rw-r--r-- | drivers/w1/w1_family.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/w1/w1_family.h b/drivers/w1/w1_family.h index b26da01bbc38..0a564a0a69a0 100644 --- a/drivers/w1/w1_family.h +++ b/drivers/w1/w1_family.h | |||
@@ -35,10 +35,12 @@ | |||
35 | 35 | ||
36 | #define MAXNAMELEN 32 | 36 | #define MAXNAMELEN 32 |
37 | 37 | ||
38 | struct w1_slave; | ||
39 | |||
38 | struct w1_family_ops | 40 | struct w1_family_ops |
39 | { | 41 | { |
40 | ssize_t (* rname)(struct device *, struct device_attribute *, char *); | 42 | int (* add_slave)(struct w1_slave *); |
41 | ssize_t (* rbin)(struct kobject *, char *, loff_t, size_t); | 43 | void (* remove_slave)(struct w1_slave *); |
42 | }; | 44 | }; |
43 | 45 | ||
44 | struct w1_family | 46 | struct w1_family |