Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2c41460 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drivers: of: of_slimbus: Register the slimbus slaves that are enabled"

parents b98e655c df4ae340
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2012, 2017 The Linux Foundation. All rights reserved.
/* Copyright (c) 2012, 2017-2018 The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -29,7 +29,7 @@ int of_register_slim_devices(struct slim_controller *ctrl)
	if (!ctrl->dev.of_node)
		return -EINVAL;

	for_each_child_of_node(ctrl->dev.of_node, node) {
	for_each_available_child_of_node(ctrl->dev.of_node, node) {
		struct property *prop;
		struct slim_device *slim;
		char *name;