diff options
Diffstat (limited to 'drivers/w1/w1.h')
-rw-r--r-- | drivers/w1/w1.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/w1/w1.h b/drivers/w1/w1.h index 6b5f7be50b8a..4f0a986e33e3 100644 --- a/drivers/w1/w1.h +++ b/drivers/w1/w1.h | |||
@@ -151,6 +151,9 @@ struct w1_bus_master | |||
151 | void (*search)(unsigned long, w1_slave_found_callback); | 151 | void (*search)(unsigned long, w1_slave_found_callback); |
152 | }; | 152 | }; |
153 | 153 | ||
154 | #define W1_MASTER_NEED_EXIT 0 | ||
155 | #define W1_MASTER_NEED_RECONNECT 1 | ||
156 | |||
154 | struct w1_master | 157 | struct w1_master |
155 | { | 158 | { |
156 | struct list_head w1_master_entry; | 159 | struct list_head w1_master_entry; |
@@ -169,7 +172,8 @@ struct w1_master | |||
169 | void *priv; | 172 | void *priv; |
170 | int priv_size; | 173 | int priv_size; |
171 | 174 | ||
172 | int need_exit; | 175 | long flags; |
176 | |||
173 | pid_t kpid; | 177 | pid_t kpid; |
174 | struct semaphore mutex; | 178 | struct semaphore mutex; |
175 | 179 | ||