mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
[MIPS] remove wrppmc_machine_power_off()
It can be replace wrppmc_machine_halt(). Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
9ecb1ff1b2
commit
3f16654f36
2 changed files with 1 additions and 7 deletions
|
@ -38,8 +38,3 @@ void wrppmc_machine_halt(void)
|
||||||
cpu_wait();
|
cpu_wait();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void wrppmc_machine_power_off(void)
|
|
||||||
{
|
|
||||||
wrppmc_machine_halt();
|
|
||||||
}
|
|
||||||
|
|
|
@ -98,11 +98,10 @@ void __init plat_mem_setup(void)
|
||||||
{
|
{
|
||||||
extern void wrppmc_machine_restart(char *command);
|
extern void wrppmc_machine_restart(char *command);
|
||||||
extern void wrppmc_machine_halt(void);
|
extern void wrppmc_machine_halt(void);
|
||||||
extern void wrppmc_machine_power_off(void);
|
|
||||||
|
|
||||||
_machine_restart = wrppmc_machine_restart;
|
_machine_restart = wrppmc_machine_restart;
|
||||||
_machine_halt = wrppmc_machine_halt;
|
_machine_halt = wrppmc_machine_halt;
|
||||||
pm_power_off = wrppmc_machine_power_off;
|
pm_power_off = wrppmc_machine_halt;
|
||||||
|
|
||||||
/* This makes the operations of 'in/out[bwl]' to the
|
/* This makes the operations of 'in/out[bwl]' to the
|
||||||
* physical address ( < KSEG0) can work via KSEG1
|
* physical address ( < KSEG0) can work via KSEG1
|
||||||
|
|
Loading…
Add table
Reference in a new issue