diff options
author | Scott Williams <scwilliams@nvidia.com> | 2011-06-28 13:09:18 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:42:49 -0800 |
commit | 150a0bd861b0032f0272d982a00b2e980b94d417 (patch) | |
tree | 145dd3437aae337505cb2a775ff7bc247b68cae3 /arch/arm/mach-tegra/headsmp.S | |
parent | da45a94d0064aacb55a609fc060fa50abde0c418 (diff) |
ARM: tegra: power: Use CONFIG_PM_SLEEP instead of CONFIG_PM
For Linux 2.6.39, CONFIG_PM_SLEEP is the proper kernel configuration
parameter to use on Tegra for power management, and not CONFIG_PM.
CONFIG_PM does not have the required dependency on CONFIG_SUSPEND
necessary to pull in the CPU suspend/resume functionality used by
Tegra.
Also fixes compilation errors when CONFIG_PM and by implication
CONFIG_PM_SLEEP are not configured.
Change-Id: I8bb380ae7c6b22759bfbc223febc28f585111aad
Reviewed-on: http://git-master/r/40458
Tested-by: Daniel Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Rebase-Id: R61d656cd67439aa9f466c381845d7a4685fc8648
Diffstat (limited to 'arch/arm/mach-tegra/headsmp.S')
-rw-r--r-- | arch/arm/mach-tegra/headsmp.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/headsmp.S b/arch/arm/mach-tegra/headsmp.S index 34e521b412df..e746423b543b 100644 --- a/arch/arm/mach-tegra/headsmp.S +++ b/arch/arm/mach-tegra/headsmp.S @@ -42,7 +42,7 @@ ENTRY(tegra_secondary_startup) ENDPROC(tegra_secondary_startup) #endif -#ifdef CONFIG_PM +#ifdef CONFIG_PM_SLEEP /* * tegra_secondary_resume * @@ -56,7 +56,7 @@ ENDPROC(tegra_secondary_resume) #endif #endif -#ifdef CONFIG_PM +#ifdef CONFIG_PM_SLEEP /* * tegra_resume * |