summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2017-01-16 09:01:26 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-01-17 07:56:27 +0100
commited6620e7e20a292f4ab44ca6519df66d054d4ac4 (patch)
treeaf063df9b10c46b5225a88a2d7800aa9e0503e55
parent08dd5af735c05fa799f59fca1613362d4c7935f0 (diff)
downloadbarebox-ed6620e7e20a292f4ab44ca6519df66d054d4ac4.tar.gz
bus: mvebu-mbus: fixup correct device tree
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@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/bus/mvebu-mbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bus/mvebu-mbus.c b/drivers/bus/mvebu-mbus.c
index 735fa32..df5f7a3 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;