summaryrefslogtreecommitdiffstats
path: root/drivers/w1/w1.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2013-01-28 23:23:00 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-01-29 09:58:07 +0100
commit0c30d94b9184657d4dd013227c41f40d50d38a2f (patch)
tree36fc3ad848c626360b748b4f3ef61dea642b2aae /drivers/w1/w1.h
parent8d5faa862c6fa7a0dff4ac25e5ba72eb466b6f3c (diff)
downloadbarebox-0c30d94b9184657d4dd013227c41f40d50d38a2f.tar.gz
barebox-0c30d94b9184657d4dd013227c41f40d50d38a2f.tar.xz
w1: add dual search support
Some 1-wire device need to be search twice to be detected Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/w1/w1.h')
-rw-r--r--drivers/w1/w1.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/w1/w1.h b/drivers/w1/w1.h
index 1373f69f62..b92d8cdb95 100644
--- a/drivers/w1/w1.h
+++ b/drivers/w1/w1.h
@@ -133,6 +133,8 @@ struct w1_bus
int max_slave_count, slave_count;
+ bool is_searched;
+
void *data;
struct list_head list;
};