summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s5pv310/cpufreq.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-s5pv310/cpufreq.c')
-rw-r--r--arch/arm/mach-s5pv310/cpufreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-s5pv310/cpufreq.c b/arch/arm/mach-s5pv310/cpufreq.c
index b04cbc73112..8493b6d05fb 100644
--- a/arch/arm/mach-s5pv310/cpufreq.c
+++ b/arch/arm/mach-s5pv310/cpufreq.c
@@ -457,7 +457,7 @@ static int s5pv310_target(struct cpufreq_policy *policy,
return 0;
}
-#ifdef CONFIG_PM
+#ifdef CONFIG_SUSPEND
static int s5pv310_cpufreq_suspend(struct cpufreq_policy *policy,
pm_message_t pmsg)
{
@@ -497,7 +497,7 @@ static struct cpufreq_driver s5pv310_driver = {
.get = s5pv310_getspeed,
.init = s5pv310_cpufreq_cpu_init,
.name = "s5pv310_cpufreq",
-#ifdef CONFIG_PM
+#ifdef CONFIG_SUSPEND
.suspend = s5pv310_cpufreq_suspend,
.resume = s5pv310_cpufreq_resume,
#endif