diff options
author | Scott Williams <scwilliams@nvidia.com> | 2011-08-17 11:49:57 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2012-03-22 23:27:56 -0700 |
commit | 750babba880fa59cc175619127f375276fadfc91 (patch) | |
tree | 1a5d81ee3f8245c95eee23cc2d1a5a02c4f318f6 /arch/arm/mach-tegra/cpuidle.h | |
parent | 648292f36620e0ba47243f30ad8ffd310d2b0057 (diff) |
ARM: tegra: Fix build error when CONFIG_PM_SLEEP is not selected
Change-Id: I65e18395eef3a36f6dd537d64d98ab970f166460
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-on: http://git-master/r/47590
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Rebase-Id: R2643d7665780442e71444999f21d96a508c7a062
Diffstat (limited to 'arch/arm/mach-tegra/cpuidle.h')
-rw-r--r-- | arch/arm/mach-tegra/cpuidle.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/cpuidle.h b/arch/arm/mach-tegra/cpuidle.h index d5e1e3e0152e..406031b26c2d 100644 --- a/arch/arm/mach-tegra/cpuidle.h +++ b/arch/arm/mach-tegra/cpuidle.h @@ -99,12 +99,12 @@ static inline int tegra_lp2_debug_show(struct seq_file *s, void *data) #endif } #endif +#endif /* CONFIG_PM_SLEEP */ -#ifdef CONFIG_CPU_IDLE +#if defined(CONFIG_CPU_IDLE) && defined(CONFIG_PM_SLEEP) void tegra_lp2_in_idle(bool enable); #else static inline void tegra_lp2_in_idle(bool enable) {} #endif -#endif /* CONFIG_PM_SLEEP */ #endif |