aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/w1/w1_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/w1/w1_io.c')
-rw-r--r--drivers/w1/w1_io.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/w1/w1_io.c b/drivers/w1/w1_io.c
index 30b6fbf83bd4..0056ef69009b 100644
--- a/drivers/w1/w1_io.c
+++ b/drivers/w1/w1_io.c
@@ -277,7 +277,8 @@ void w1_search_devices(struct w1_master *dev, u8 search_type, w1_slave_found_cal
277{ 277{
278 dev->attempts++; 278 dev->attempts++;
279 if (dev->bus_master->search) 279 if (dev->bus_master->search)
280 dev->bus_master->search(dev->bus_master->data, search_type, cb); 280 dev->bus_master->search(dev->bus_master->data, dev,
281 search_type, cb);
281 else 282 else
282 w1_search(dev, search_type, cb); 283 w1_search(dev, search_type, cb);
283} 284}