Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66197
b: refs/heads/master
c: f13558c
h: refs/heads/master
i:
  66195: 6c0a1e9
v: v3
  • Loading branch information
Yoichi Yuasa authored and Ralf Baechle committed Oct 11, 2007
1 parent 7f57f3d commit 82511b1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 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: 3282bd3cb0c7653e604c0d3666331281ae8f74c4
refs/heads/master: f13558c2a4a7339192ff7148ee903340affdb790
9 changes: 0 additions & 9 deletions trunk/arch/mips/cobalt/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,3 @@ void cobalt_machine_restart(char *command)
/* we should never get here */
cobalt_machine_halt();
}

/*
* This triggers the luser mode device driver for the power switch ;-)
*/
void cobalt_machine_power_off(void)
{
printk("You can switch the machine off now.\n");
cobalt_machine_halt();
}
3 changes: 1 addition & 2 deletions trunk/arch/mips/cobalt/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

extern void cobalt_machine_restart(char *command);
extern void cobalt_machine_halt(void);
extern void cobalt_machine_power_off(void);

const char *get_system_type(void)
{
Expand Down Expand Up @@ -96,7 +95,7 @@ void __init plat_mem_setup(void)

_machine_restart = cobalt_machine_restart;
_machine_halt = cobalt_machine_halt;
pm_power_off = cobalt_machine_power_off;
pm_power_off = cobalt_machine_halt;

set_io_port_base(CKSEG1ADDR(GT_DEF_PCI0_IO_BASE));

Expand Down

0 comments on commit 82511b1

Please sign in to comment.