]> 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 15:51:02 +0000 (17:51 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 17 Sep 2011 00:40:54 +0000 (02:40 +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 647e518c90bc4bf239a0f3499822edd58616ec3c..db073f97787af08465bad60c4f3b40d36f440977 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.
@@ -168,5 +166,3 @@ void au_sleep(void)
                restore_core_regs();
        }
 }
-
-#endif /* CONFIG_PM */