diff options
Diffstat (limited to 'arch/powerpc/sysdev/fsl_soc.c')
-rw-r--r-- | arch/powerpc/sysdev/fsl_soc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c index 95dbc643c4fc..adca4affcf1f 100644 --- a/arch/powerpc/sysdev/fsl_soc.c +++ b/arch/powerpc/sysdev/fsl_soc.c | |||
@@ -37,6 +37,7 @@ | |||
37 | #include <asm/irq.h> | 37 | #include <asm/irq.h> |
38 | #include <asm/time.h> | 38 | #include <asm/time.h> |
39 | #include <asm/prom.h> | 39 | #include <asm/prom.h> |
40 | #include <asm/machdep.h> | ||
40 | #include <sysdev/fsl_soc.h> | 41 | #include <sysdev/fsl_soc.h> |
41 | #include <mm/mmu_decl.h> | 42 | #include <mm/mmu_decl.h> |
42 | #include <asm/cpm2.h> | 43 | #include <asm/cpm2.h> |
@@ -383,8 +384,9 @@ static int __init setup_rstcr(void) | |||
383 | if (!rstcr) | 384 | if (!rstcr) |
384 | printk (KERN_EMERG "Error: reset control register " | 385 | printk (KERN_EMERG "Error: reset control register " |
385 | "not mapped!\n"); | 386 | "not mapped!\n"); |
386 | } else | 387 | } else if (ppc_md.restart == fsl_rstcr_restart) |
387 | printk (KERN_INFO "rstcr compatible register does not exist!\n"); | 388 | printk(KERN_ERR "No RSTCR register, warm reboot won't work\n"); |
389 | |||
388 | if (np) | 390 | if (np) |
389 | of_node_put(np); | 391 | of_node_put(np); |
390 | return 0; | 392 | return 0; |