diff options
Diffstat (limited to 'arch/mips/mips-boards')
-rw-r--r-- | arch/mips/mips-boards/generic/reset.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/mips/mips-boards/generic/reset.c b/arch/mips/mips-boards/generic/reset.c index 9fdec743bd95..7213c395fb6b 100644 --- a/arch/mips/mips-boards/generic/reset.c +++ b/arch/mips/mips-boards/generic/reset.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * | 23 | * |
24 | */ | 24 | */ |
25 | #include <linux/config.h> | 25 | #include <linux/config.h> |
26 | #include <linux/pm.h> | ||
26 | 27 | ||
27 | #include <asm/io.h> | 28 | #include <asm/io.h> |
28 | #include <asm/reboot.h> | 29 | #include <asm/reboot.h> |
@@ -65,9 +66,9 @@ void mips_reboot_setup(void) | |||
65 | _machine_restart = mips_machine_restart; | 66 | _machine_restart = mips_machine_restart; |
66 | _machine_halt = mips_machine_halt; | 67 | _machine_halt = mips_machine_halt; |
67 | #if defined(CONFIG_MIPS_ATLAS) | 68 | #if defined(CONFIG_MIPS_ATLAS) |
68 | _machine_power_off = atlas_machine_power_off; | 69 | pm_power_off = atlas_machine_power_off; |
69 | #endif | 70 | #endif |
70 | #if defined(CONFIG_MIPS_MALTA) || defined(CONFIG_MIPS_SEAD) | 71 | #if defined(CONFIG_MIPS_MALTA) || defined(CONFIG_MIPS_SEAD) |
71 | _machine_power_off = mips_machine_halt; | 72 | pm_power_off = mips_machine_halt; |
72 | #endif | 73 | #endif |
73 | } | 74 | } |