9
0
Fork 0

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>
This commit is contained in:
Uwe Kleine-König 2017-01-16 09:01:26 +01:00 committed by Sascha Hauer
parent 08dd5af735
commit ed6620e7e2
1 changed files with 1 additions and 1 deletions

View File

@ -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;