ARM: tegra: suspend: protect suspend functions with CONFIG_PM
authorAllen Martin <AMartin@nvidia.com>
Fri, 19 Nov 2010 23:51:50 +0000 (15:51 -0800)
committerColin Cross <ccross@android.com>
Thu, 25 Nov 2010 00:28:34 +0000 (16:28 -0800)
commitfebad2cd1e18846e1f4b28cbe996c43e7b6b899e
tree7b833df755af8f0c6e098a36f20559114e155a40
parent287241377fa85a0ae29efa02c94851ab2ae50127
ARM: tegra: suspend: protect suspend functions with CONFIG_PM

Protect suspend/resume functions behind #ifdef CONFIG_PM.  This
prevents a compile error with CONFIG_PM turned off.

Signed-off-by: Allen Martin <amartin@nvidia.com>
Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/mach-tegra/suspend.c