aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/w1/w1.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/w1/w1.h')
-rw-r--r--drivers/w1/w1.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/w1/w1.h b/drivers/w1/w1.h
index d8a9709f3449..f804eba89b7b 100644
--- a/drivers/w1/w1.h
+++ b/drivers/w1/w1.h
@@ -55,6 +55,7 @@ struct w1_reg_num
55#define W1_READ_ROM 0x33 55#define W1_READ_ROM 0x33
56#define W1_READ_PSUPPLY 0xB4 56#define W1_READ_PSUPPLY 0xB4
57#define W1_MATCH_ROM 0x55 57#define W1_MATCH_ROM 0x55
58#define W1_RESUME_CMD 0xA5
58 59
59#define W1_SLAVE_ACTIVE 0 60#define W1_SLAVE_ACTIVE 0
60 61
@@ -213,6 +214,7 @@ void w1_write_block(struct w1_master *, const u8 *, int);
213void w1_touch_block(struct w1_master *, u8 *, int); 214void w1_touch_block(struct w1_master *, u8 *, int);
214u8 w1_read_block(struct w1_master *, u8 *, int); 215u8 w1_read_block(struct w1_master *, u8 *, int);
215int w1_reset_select_slave(struct w1_slave *sl); 216int w1_reset_select_slave(struct w1_slave *sl);
217int w1_reset_resume_command(struct w1_master *);
216void w1_next_pullup(struct w1_master *, int); 218void w1_next_pullup(struct w1_master *, int);
217 219
218static inline struct w1_slave* dev_to_w1_slave(struct device *dev) 220static inline struct w1_slave* dev_to_w1_slave(struct device *dev)