summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/4xx/soc.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/4xx/soc.c')
-rw-r--r--arch/powerpc/platforms/4xx/soc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/4xx/soc.c b/arch/powerpc/platforms/4xx/soc.c
index 5e36508b2a70..1844bf502fcf 100644
--- a/arch/powerpc/platforms/4xx/soc.c
+++ b/arch/powerpc/platforms/4xx/soc.c
@@ -200,7 +200,7 @@ void ppc4xx_reset_system(char *cmd)
u32 reset_type = DBCR0_RST_SYSTEM;
const u32 *prop;
- np = of_find_node_by_type(NULL, "cpu");
+ np = of_get_cpu_node(0, NULL);
if (np) {
prop = of_get_property(np, "reset-type", NULL);