projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a84c96e
)
[MIPS] Revert "mips: add pm_power_off"
author
Ralf Baechle
<ralf@linux-mips.org>
Fri, 3 Feb 2006 16:47:44 +0000
(16:47 +0000)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 7 Feb 2006 13:30:21 +0000
(13:30 +0000)
pm_power_off duplicates the functionality of _machine_restart.
This reverts
b142159fa5ffbad73b6927fafa5440148030f3f1
commit.
arch/mips/kernel/reset.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/reset.c
b/arch/mips/kernel/reset.c
index 5e37df3111ad4b33a98d33a235a5669940b9d346..ae2ba67b7ef61f1054f8f5f19f625d3f78b5f6ed 100644
(file)
--- a/
arch/mips/kernel/reset.c
+++ b/
arch/mips/kernel/reset.c
@@
-12,9
+12,6
@@
#include <linux/reboot.h>
#include <asm/reboot.h>
-void (*pm_power_off)(void);
-EXPORT_SYMBOL(pm_power_off);
-
/*
* Urgs ... Too many MIPS machines to handle this in a generic way.
* So handle all using function pointers to machine specific
@@
-36,9
+33,6
@@
void machine_halt(void)
void machine_power_off(void)
{
- if (pm_power_off)
- pm_power_off();
-
_machine_power_off();
}