diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2015-05-06 21:36:13 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-05-06 21:36:13 +0200 |
commit | 3975737a7d48b3c767f60be994d55884321d45f9 (patch) | |
tree | 8be2f56c4978420e6e4c4b3292e18c61b07a926e /drivers/mtd/core.c | |
parent | 10fb7853084356ef3c6b40ddf21dfb05dbd15691 (diff) | |
parent | 6d4afd96fc94a3f2d256ef4e8d7c9687a145a701 (diff) | |
download | barebox-3975737a7d48b3c767f60be994d55884321d45f9.tar.gz barebox-3975737a7d48b3c767f60be994d55884321d45f9.tar.xz |
Merge branch 'for-next/misc'
Diffstat (limited to 'drivers/mtd/core.c')
-rw-r--r-- | drivers/mtd/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/core.c b/drivers/mtd/core.c index 431114bab8..1755e7680f 100644 --- a/drivers/mtd/core.c +++ b/drivers/mtd/core.c @@ -488,7 +488,7 @@ static int of_mtd_fixup(struct device_node *root, void *ctx) struct device_node *np, *part, *tmp; int ret, i = 0; - np = of_find_node_by_path(mtd->of_path); + np = of_find_node_by_path_from(root, mtd->of_path); if (!np) { dev_err(&mtd->class_dev, "Cannot find nodepath %s, cannot fixup\n", mtd->of_path); |