diff options
-rw-r--r-- | drivers/w1/w1_io.c | 3 | ||||
-rw-r--r-- | include/linux/w1.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/w1/w1_io.c b/drivers/w1/w1_io.c index d191e1f80579..075d120e7b88 100644 --- a/drivers/w1/w1_io.c +++ b/drivers/w1/w1_io.c | |||
@@ -58,7 +58,7 @@ static u8 w1_read_bit(struct w1_master *dev); | |||
58 | * @dev: the master device | 58 | * @dev: the master device |
59 | * @bit: 0 - write a 0, 1 - write a 0 read the level | 59 | * @bit: 0 - write a 0, 1 - write a 0 read the level |
60 | */ | 60 | */ |
61 | static u8 w1_touch_bit(struct w1_master *dev, int bit) | 61 | u8 w1_touch_bit(struct w1_master *dev, int bit) |
62 | { | 62 | { |
63 | if (dev->bus_master->touch_bit) | 63 | if (dev->bus_master->touch_bit) |
64 | return dev->bus_master->touch_bit(dev->bus_master->data, bit); | 64 | return dev->bus_master->touch_bit(dev->bus_master->data, bit); |
@@ -69,6 +69,7 @@ static u8 w1_touch_bit(struct w1_master *dev, int bit) | |||
69 | return 0; | 69 | return 0; |
70 | } | 70 | } |
71 | } | 71 | } |
72 | EXPORT_SYMBOL_GPL(w1_touch_bit); | ||
72 | 73 | ||
73 | /** | 74 | /** |
74 | * w1_write_bit() - Generates a write-0 or write-1 cycle. | 75 | * w1_write_bit() - Generates a write-0 or write-1 cycle. |
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); | |||
293 | w1_unregister_family) | 293 | w1_unregister_family) |
294 | 294 | ||
295 | u8 w1_triplet(struct w1_master *dev, int bdir); | 295 | u8 w1_triplet(struct w1_master *dev, int bdir); |
296 | u8 w1_touch_bit(struct w1_master *dev, int bit); | ||
296 | void w1_write_8(struct w1_master *, u8); | 297 | void w1_write_8(struct w1_master *, u8); |
297 | u8 w1_read_8(struct w1_master *); | 298 | u8 w1_read_8(struct w1_master *); |
298 | int w1_reset_bus(struct w1_master *); | 299 | int w1_reset_bus(struct w1_master *); |