Skip to content

Commit

Permalink
[MIPS] remove wrppmc_machine_power_off()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yoichi Yuasa authored and Ralf Baechle committed Jul 15, 2008
1 parent 9ecb1ff commit 3f16654
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
5 changes: 0 additions & 5 deletions arch/mips/gt64120/wrppmc/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,3 @@ void wrppmc_machine_halt(void)
cpu_wait();
}
}

void wrppmc_machine_power_off(void)
{
wrppmc_machine_halt();
}
3 changes: 1 addition & 2 deletions arch/mips/gt64120/wrppmc/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,10 @@ void __init plat_mem_setup(void)
{
extern void wrppmc_machine_restart(char *command);
extern void wrppmc_machine_halt(void);
extern void wrppmc_machine_power_off(void);

_machine_restart = wrppmc_machine_restart;
_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
* physical address ( < KSEG0) can work via KSEG1
Expand Down

0 comments on commit 3f16654

Please sign in to comment.