diff options
Diffstat (limited to 'arch/sparc64/kernel/power.c')
-rw-r--r-- | arch/sparc64/kernel/power.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sparc64/kernel/power.c b/arch/sparc64/kernel/power.c index 850cdffdd69c..eae8ca2a6ba5 100644 --- a/arch/sparc64/kernel/power.c +++ b/arch/sparc64/kernel/power.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <asm/of_device.h> | 20 | #include <asm/of_device.h> |
21 | #include <asm/io.h> | 21 | #include <asm/io.h> |
22 | #include <asm/sstate.h> | 22 | #include <asm/sstate.h> |
23 | #include <asm/reboot.h> | ||
23 | 24 | ||
24 | #include <linux/unistd.h> | 25 | #include <linux/unistd.h> |
25 | 26 | ||
@@ -39,8 +40,6 @@ static irqreturn_t power_handler(int irq, void *dev_id) | |||
39 | return IRQ_HANDLED; | 40 | return IRQ_HANDLED; |
40 | } | 41 | } |
41 | 42 | ||
42 | extern void machine_halt(void); | ||
43 | extern void machine_alt_power_off(void); | ||
44 | static void (*poweroff_method)(void) = machine_alt_power_off; | 43 | static void (*poweroff_method)(void) = machine_alt_power_off; |
45 | 44 | ||
46 | void machine_power_off(void) | 45 | void machine_power_off(void) |