diff options
Diffstat (limited to 'arch/microblaze/kernel/prom.c')
-rw-r--r-- | arch/microblaze/kernel/prom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/prom.c b/arch/microblaze/kernel/prom.c index 46407e643926..6eff83a71218 100644 --- a/arch/microblaze/kernel/prom.c +++ b/arch/microblaze/kernel/prom.c | |||
@@ -342,7 +342,7 @@ struct device_node *of_find_node_by_phandle(phandle handle) | |||
342 | 342 | ||
343 | read_lock(&devtree_lock); | 343 | read_lock(&devtree_lock); |
344 | for (np = allnodes; np != NULL; np = np->allnext) | 344 | for (np = allnodes; np != NULL; np = np->allnext) |
345 | if (np->linux_phandle == handle) | 345 | if (np->phandle == handle) |
346 | break; | 346 | break; |
347 | of_node_get(np); | 347 | of_node_get(np); |
348 | read_unlock(&devtree_lock); | 348 | read_unlock(&devtree_lock); |