aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base/bus.c')
-rw-r--r--drivers/base/bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/bus.c b/drivers/base/bus.c
index c6599618523e..4b04a15146d7 100644
--- a/drivers/base/bus.c
+++ b/drivers/base/bus.c
@@ -279,7 +279,7 @@ static struct device *next_device(struct klist_iter *i)
279 * 279 *
280 * NOTE: The device that returns a non-zero value is not retained 280 * NOTE: The device that returns a non-zero value is not retained
281 * in any way, nor is its refcount incremented. If the caller needs 281 * in any way, nor is its refcount incremented. If the caller needs
282 * to retain this data, it should do, and increment the reference 282 * to retain this data, it should do so, and increment the reference
283 * count in the supplied callback. 283 * count in the supplied callback.
284 */ 284 */
285int bus_for_each_dev(struct bus_type *bus, struct device *start, 285int bus_for_each_dev(struct bus_type *bus, struct device *start,