diff options
Diffstat (limited to 'drivers/w1/w1_family.h')
-rw-r--r-- | drivers/w1/w1_family.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/w1/w1_family.h b/drivers/w1/w1_family.h index d01f0424cee9..218f12720622 100644 --- a/drivers/w1/w1_family.h +++ b/drivers/w1/w1_family.h | |||
@@ -1,8 +1,8 @@ | |||
1 | /* | 1 | /* |
2 | * w1_family.h | 2 | * w1_family.h |
3 | * | 3 | * |
4 | * Copyright (c) 2004 Evgeniy Polyakov <johnpol@2ka.mipt.ru> | 4 | * Copyright (c) 2004 Evgeniy Polyakov <johnpol@2ka.mipt.ru> |
5 | * | 5 | * |
6 | * | 6 | * |
7 | * This program is free software; you can redistribute it and/or modify | 7 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License as published by | 8 | * it under the terms of the GNU General Public License as published by |
@@ -39,7 +39,7 @@ struct w1_family_ops | |||
39 | { | 39 | { |
40 | ssize_t (* rname)(struct device *, struct device_attribute *, char *); | 40 | ssize_t (* rname)(struct device *, struct device_attribute *, char *); |
41 | ssize_t (* rbin)(struct kobject *, char *, loff_t, size_t); | 41 | ssize_t (* rbin)(struct kobject *, char *, loff_t, size_t); |
42 | 42 | ||
43 | ssize_t (* rval)(struct device *, struct device_attribute *, char *); | 43 | ssize_t (* rval)(struct device *, struct device_attribute *, char *); |
44 | unsigned char rvalname[MAXNAMELEN]; | 44 | unsigned char rvalname[MAXNAMELEN]; |
45 | }; | 45 | }; |
@@ -48,9 +48,9 @@ struct w1_family | |||
48 | { | 48 | { |
49 | struct list_head family_entry; | 49 | struct list_head family_entry; |
50 | u8 fid; | 50 | u8 fid; |
51 | 51 | ||
52 | struct w1_family_ops *fops; | 52 | struct w1_family_ops *fops; |
53 | 53 | ||
54 | atomic_t refcnt; | 54 | atomic_t refcnt; |
55 | u8 need_exit; | 55 | u8 need_exit; |
56 | }; | 56 | }; |