aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Lauss <manuel.lauss@googlemail.com>2011-08-02 13:51:02 -0400
committerRalf Baechle <ralf@linux-mips.org>2011-10-24 18:34:22 -0400
commit2e8fd2e5efe6b7cebba0beec44c6c2f474c6b726 (patch)
tree8eadda6d6994d3d1c02236466aec0e3978b1d7f1
parent553737aa95016542780e7a4b4b810fef85c4eb72 (diff)
MIPS: Alchemy: Always build power code
No reason NOT to build it Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com> To: Linux-MIPS <linux-mips@linux-mips.org> Patchwork: https://patchwork.linux-mips.org/patch/2678/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/alchemy/common/power.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/mips/alchemy/common/power.c b/arch/mips/alchemy/common/power.c
index b86324a42601..9ec85597bbf3 100644
--- a/arch/mips/alchemy/common/power.c
+++ b/arch/mips/alchemy/common/power.c
@@ -37,8 +37,6 @@
37#include <asm/uaccess.h> 37#include <asm/uaccess.h>
38#include <asm/mach-au1x00/au1000.h> 38#include <asm/mach-au1x00/au1000.h>
39 39
40#ifdef CONFIG_PM
41
42/* 40/*
43 * We need to save/restore a bunch of core registers that are 41 * We need to save/restore a bunch of core registers that are
44 * either volatile or reset to some state across a processor sleep. 42 * either volatile or reset to some state across a processor sleep.
@@ -174,5 +172,3 @@ void au_sleep(void)
174 172
175 restore_core_regs(); 173 restore_core_regs();
176} 174}
177
178#endif /* CONFIG_PM */