diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2017-01-16 09:01:26 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-01-17 07:56:27 +0100 |
commit | ed6620e7e20a292f4ab44ca6519df66d054d4ac4 (patch) | |
tree | af063df9b10c46b5225a88a2d7800aa9e0503e55 /drivers/bus | |
parent | 08dd5af735c05fa799f59fca1613362d4c7935f0 (diff) | |
download | barebox-ed6620e7e20a292f4ab44ca6519df66d054d4ac4.tar.gz barebox-ed6620e7e20a292f4ab44ca6519df66d054d4ac4.tar.xz |
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>
Diffstat (limited to 'drivers/bus')
-rw-r--r-- | drivers/bus/mvebu-mbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bus/mvebu-mbus.c b/drivers/bus/mvebu-mbus.c index 735fa323c4..df5f7a32d3 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; |