summaryrefslogtreecommitdiffstats
path: root/drivers/w1/w1.h
diff options
context:
space:
mode:
authorEvgeniy Polyakov <johnpol@2ka.mipt.ru>2005-06-03 23:31:02 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-06-22 06:43:11 +0200
commit2a9d0c178158da4a9bcf22311a414c26a8102d13 (patch)
tree7039be0c9767193b1046d737686bb00c8dbf64d3 /drivers/w1/w1.h
parent[PATCH] w1: Added the triplet w1 master method and changes w1_search() to use... (diff)
downloadlinux-2a9d0c178158da4a9bcf22311a414c26a8102d13.tar.xz
linux-2a9d0c178158da4a9bcf22311a414c26a8102d13.zip
[PATCH] w1: Adds a sysfs entry (w1_master_search) that allows you to disable/enable periodic searches.
Adds a sysfs entry (w1_master_search) that allows you to disable/enable periodic searches. Signed-off-by: Ben Gardner <bgardner@wabtec.com> Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/w1/w1.h')
-rw-r--r--drivers/w1/w1.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/w1/w1.h b/drivers/w1/w1.h
index 3cfdd08d32fc..6b5f7be50b8a 100644
--- a/drivers/w1/w1.h
+++ b/drivers/w1/w1.h
@@ -162,6 +162,7 @@ struct w1_master
int slave_ttl;
int initialized;
u32 id;
+ int search_count;
atomic_t refcnt;