wire: export w1_touch_bit
commiteb8470db8bc018fc28901e4e3b0f48e33f1ea7df
authorJan Kandziora <jjj@gmx.de>
Wed, 20 Sep 2017 21:52:45 +0000 (20 23:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Oct 2017 08:29:22 +0000 (4 10:29 +0200)
tree9b6c9d5dbdcd890f00cf4ced3b52184344fadac1
parente701c67c30e65cc887b1ebdd6ef91010f0ca46fa
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>
drivers/w1/w1_io.c
include/linux/w1.h