Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162817
b: refs/heads/master
c: 1f320d0
h: refs/heads/master
i:
  162815: 78e05b1
v: v3
  • Loading branch information
Ralf Baechle committed Sep 17, 2009
1 parent ff86987 commit 80b1cb8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7e17615c45980fc34d3f7d04bc7063cfc32180ec
refs/heads/master: 1f320d053c666567a8e440ebcec4ed7f7006b006
7 changes: 6 additions & 1 deletion trunk/arch/mips/mti-malta/malta-reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* Reset the MIPS boards.
*
*/
#include <linux/init.h>
#include <linux/pm.h>

#include <asm/io.h>
Expand All @@ -45,9 +46,13 @@ static void mips_machine_halt(void)
}


void mips_reboot_setup(void)
static int __init mips_reboot_setup(void)
{
_machine_restart = mips_machine_restart;
_machine_halt = mips_machine_halt;
pm_power_off = mips_machine_halt;

return 0;
}

arch_initcall(mips_reboot_setup);
1 change: 0 additions & 1 deletion trunk/arch/mips/mti-malta/malta-setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ void __init plat_mem_setup(void)
#if defined(CONFIG_VT) && defined(CONFIG_VGA_CONSOLE)
screen_info_setup();
#endif
mips_reboot_setup();

board_be_init = malta_be_init;
board_be_handler = malta_be_handler;
Expand Down

0 comments on commit 80b1cb8

Please sign in to comment.