]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
MIPS: Alchemy: Always build power code
authorManuel Lauss <manuel.lauss@googlemail.com>
Tue, 2 Aug 2011 17:51:02 +0000 (19:51 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 23 Sep 2011 23:45:51 +0000 (01:45 +0200)
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>
arch/mips/alchemy/common/power.c

index b86324a42601105f7b540d25c3b89c1245b69b5e..9ec85597bbf3bc36c964aa248ec7f05c41eb8a62 100644 (file)
@@ -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 */