aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/alchemy/common/power.c
diff options
context:
space:
mode:
authorManuel Lauss <manuel.lauss@googlemail.com>2011-08-02 19:51:02 +0200
committerRalf Baechle <ralf@linux-mips.org>2011-10-24 23:34:22 +0100
commit2e8fd2e5efe6b7cebba0beec44c6c2f474c6b726 (patch)
tree8eadda6d6994d3d1c02236466aec0e3978b1d7f1 /arch/mips/alchemy/common/power.c
parent553737aa95016542780e7a4b4b810fef85c4eb72 (diff)
downloadkernel_samsung_smdk4412-2e8fd2e5efe6b7cebba0beec44c6c2f474c6b726.zip
kernel_samsung_smdk4412-2e8fd2e5efe6b7cebba0beec44c6c2f474c6b726.tar.gz
kernel_samsung_smdk4412-2e8fd2e5efe6b7cebba0beec44c6c2f474c6b726.tar.bz2
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>
Diffstat (limited to 'arch/mips/alchemy/common/power.c')
-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 b86324a..9ec8559 100644
--- a/arch/mips/alchemy/common/power.c
+++ b/arch/mips/alchemy/common/power.c
@@ -37,8 +37,6 @@
#include <asm/uaccess.h>
#include <asm/mach-au1x00/au1000.h>
-#ifdef CONFIG_PM
-
/*
* We need to save/restore a bunch of core registers that are
* either volatile or reset to some state across a processor sleep.
@@ -174,5 +172,3 @@ void au_sleep(void)
restore_core_regs();
}
-
-#endif /* CONFIG_PM */