aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/fsl_soc.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/sysdev/fsl_soc.c')
-rw-r--r--arch/powerpc/sysdev/fsl_soc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c
index ffd1169ebaab..99269c041615 100644
--- a/arch/powerpc/sysdev/fsl_soc.c
+++ b/arch/powerpc/sysdev/fsl_soc.c
@@ -197,8 +197,7 @@ static int __init setup_rstcr(void)
197 if (!rstcr && ppc_md.restart == fsl_rstcr_restart) 197 if (!rstcr && ppc_md.restart == fsl_rstcr_restart)
198 printk(KERN_ERR "No RSTCR register, warm reboot won't work\n"); 198 printk(KERN_ERR "No RSTCR register, warm reboot won't work\n");
199 199
200 if (np) 200 of_node_put(np);
201 of_node_put(np);
202 201
203 return 0; 202 return 0;
204} 203}
@@ -238,7 +237,7 @@ void fsl_hv_restart(char *cmd)
238/* 237/*
239 * Halt the current partition 238 * Halt the current partition
240 * 239 *
241 * This function should be assigned to the ppc_md.power_off and ppc_md.halt 240 * This function should be assigned to the pm_power_off and ppc_md.halt
242 * function pointers, to shut down the partition when we're running under 241 * function pointers, to shut down the partition when we're running under
243 * the Freescale hypervisor. 242 * the Freescale hypervisor.
244 */ 243 */