[PATCH 2/2] bus: mvebu-mbus: fixup correct device tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When booting with an external device tree this external tree must
be adapted, not the internal tree again.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
---
 drivers/bus/mvebu-mbus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bus/mvebu-mbus.c b/drivers/bus/mvebu-mbus.c
index 735fa323c458..df5f7a32d346 100644
--- a/drivers/bus/mvebu-mbus.c
+++ b/drivers/bus/mvebu-mbus.c
@@ -754,7 +754,7 @@ static int mvebu_mbus_of_fixup(struct device_node *root, void *context)
 {
 	struct device_node *np;
 
-	for_each_matching_node(np, mvebu_mbus_dt_ids) {
+	for_each_matching_node_from(np, root, mvebu_mbus_dt_ids) {
 		struct property *p;
 		int n, pa, na, ns, lenp, size;
 		u32 *ranges;
-- 
2.11.0


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux