summaryrefslogtreecommitdiff
path: root/include/linux/w1.h
diff options
context:
space:
mode:
authorJan Kandziora <jjj@gmx.de>2017-09-20 23:52:45 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-04 10:29:22 +0200
commiteb8470db8bc018fc28901e4e3b0f48e33f1ea7df (patch)
tree9b6c9d5dbdcd890f00cf4ced3b52184344fadac1 /include/linux/w1.h
parente701c67c30e65cc887b1ebdd6ef91010f0ca46fa (diff)
wire: export w1_touch_bit
The w1_ds28e17 driver from the next part of this patch needs to emit single-bit read timeslots to the DS28E17. The w1 subsystem already has this function but it is not exported outside drivers/w1/w1_io.c This subpatch exports the w1_touch_bit symbol with EXPORT_SYMBOL_GPL, same as the other exported symbols in drivers/w1/w1_io.c May be also useful later for writing drivers for other Onewire chips which do single-bit communication. Signed-off-by: Jan Kandziora <jjj@gmx.de> Acked-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/w1.h')
-rw-r--r--include/linux/w1.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/w1.h b/include/linux/w1.h
index 5b2972946dda..694101f744c7 100644
--- a/include/linux/w1.h
+++ b/include/linux/w1.h
@@ -293,6 +293,7 @@ void w1_unregister_family(struct w1_family *family);
w1_unregister_family)
u8 w1_triplet(struct w1_master *dev, int bdir);
+u8 w1_touch_bit(struct w1_master *dev, int bit);
void w1_write_8(struct w1_master *, u8);
u8 w1_read_8(struct w1_master *);
int w1_reset_bus(struct w1_master *);