aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/w1/w1.h
diff options
context:
space:
mode:
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 bc329d2bba28..bd10b3c2a406 100644
--- a/drivers/w1/w1.h
+++ b/drivers/w1/w1.h
@@ -158,9 +158,11 @@ struct w1_bus_master
158/** 158/**
159 * enum w1_master_flags - bitfields used in w1_master.flags 159 * enum w1_master_flags - bitfields used in w1_master.flags
160 * @W1_ABORT_SEARCH: abort searching early on shutdown 160 * @W1_ABORT_SEARCH: abort searching early on shutdown
161 * @W1_WARN_MAX_COUNT: limit warning when the maximum count is reached
161 */ 162 */
162enum w1_master_flags { 163enum w1_master_flags {
163 W1_ABORT_SEARCH = 0, 164 W1_ABORT_SEARCH = 0,
165 W1_WARN_MAX_COUNT = 1,
164}; 166};
165 167
166struct w1_master 168struct w1_master