diff options
author | Evgeniy Polyakov <johnpol@2ka.mipt.ru> | 2005-08-11 09:27:49 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-08 17:41:26 -0400 |
commit | ea7d8f65c865ebfa1d7cd67c360a87333ff013c1 (patch) | |
tree | 1e687c32d53a92c10a61fb23ab14763459ff5779 /drivers/w1/w1_io.h | |
parent | db2d0008de519c5db6baec45f7831e08790301cf (diff) |
[PATCH] w1: Added w1_reset_select_slave() - Resets the bus and then selects the slave by
sending either a skip rom or a rom match.
Patch from Ben Gardner <bgardner@wabtec.com>
Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/w1/w1_io.h')
-rw-r--r-- | drivers/w1/w1_io.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/w1/w1_io.h b/drivers/w1/w1_io.h index af5829778aa..232860184a2 100644 --- a/drivers/w1/w1_io.h +++ b/drivers/w1/w1_io.h | |||
@@ -34,5 +34,6 @@ u8 w1_calc_crc8(u8 *, int); | |||
34 | void w1_write_block(struct w1_master *, const u8 *, int); | 34 | void w1_write_block(struct w1_master *, const u8 *, int); |
35 | u8 w1_read_block(struct w1_master *, u8 *, int); | 35 | u8 w1_read_block(struct w1_master *, u8 *, int); |
36 | void w1_search_devices(struct w1_master *dev, w1_slave_found_callback cb); | 36 | void w1_search_devices(struct w1_master *dev, w1_slave_found_callback cb); |
37 | int w1_reset_select_slave(struct w1_slave *sl); | ||
37 | 38 | ||
38 | #endif /* __W1_IO_H */ | 39 | #endif /* __W1_IO_H */ |