diff options
author | Maciej S. Szmigiero <mail@maciej.szmigiero.name> | 2017-01-19 23:26:51 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-25 13:46:42 +0300 |
commit | dd6478d68b16ce3d165b9d0e4ac0c021923e0f5a (patch) | |
tree | b99c940035bfea5b3ce39eb9c3abb4082db13278 /drivers/w1/w1_io.c | |
parent | 61cd1b4cd1e8f7f7642ab64529d9bd52e8374641 (diff) | |
download | linux-dd6478d68b16ce3d165b9d0e4ac0c021923e0f5a.tar.xz |
w1: add DS2405 addressable switch driver
This adds a driver for a DS2405 1-wire single-channel addressable switch.
The DS2405 can also work as a single-channel binary remote sensor.
This driver supports two attributes: "state" and "output" which are the
same attribute names as supported by existing DS2406, DS2408 and DS2413
drivers.
Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/w1/w1_io.c')
-rw-r--r-- | drivers/w1/w1_io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/w1/w1_io.c b/drivers/w1/w1_io.c index f4bc8c100a01..a209869eff76 100644 --- a/drivers/w1/w1_io.c +++ b/drivers/w1/w1_io.c @@ -233,6 +233,7 @@ u8 w1_triplet(struct w1_master *dev, int bdir) return retval; } } +EXPORT_SYMBOL_GPL(w1_triplet); /** * w1_read_8() - Reads 8 bits. |