summaryrefslogtreecommitdiffstats
path: root/arch/mips/ite-boards/generic/it8172_setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/ite-boards/generic/it8172_setup.c')
-rw-r--r--arch/mips/ite-boards/generic/it8172_setup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/ite-boards/generic/it8172_setup.c b/arch/mips/ite-boards/generic/it8172_setup.c
index 062429d..fc73c8d 100644
--- a/arch/mips/ite-boards/generic/it8172_setup.c
+++ b/arch/mips/ite-boards/generic/it8172_setup.c
@@ -34,6 +34,7 @@
#include <linux/major.h>
#include <linux/kdev_t.h>
#include <linux/root_dev.h>
+#include <linux/pm.h>
#include <asm/cpu.h>
#include <asm/time.h>
@@ -125,7 +126,7 @@ void __init plat_setup(void)
_machine_restart = it8172_restart;
_machine_halt = it8172_halt;
- _machine_power_off = it8172_power_off;
+ pm_power_off = it8172_power_off;
/*
* IO/MEM resources.
OpenPOWER on IntegriCloud