summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/cpufreq.c
diff options
context:
space:
mode:
authorJason Liu <r64343@freescale.com>2011-12-19 20:39:18 +0800
committerJason Liu <r64343@freescale.com>2012-07-20 13:18:50 +0800
commit65b077620331964ad330651267d34feca1d0440f (patch)
tree9440c324801027c1940e15725de0a6463cc07d63 /arch/arm/plat-mxc/cpufreq.c
parent842e4dc8923b277d370d3b2807b867ecccc1a54d (diff)
fix the building warnings
Signed-off-by: Jason Liu <r64343@freescale.com>
Diffstat (limited to 'arch/arm/plat-mxc/cpufreq.c')
-rwxr-xr-xarch/arm/plat-mxc/cpufreq.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/plat-mxc/cpufreq.c b/arch/arm/plat-mxc/cpufreq.c
index 5efe83334703..906ecca7cf78 100755
--- a/arch/arm/plat-mxc/cpufreq.c
+++ b/arch/arm/plat-mxc/cpufreq.c
@@ -160,8 +160,7 @@ static int mxc_set_target(struct cpufreq_policy *policy,
return ret;
}
-static int mxc_cpufreq_suspend(struct cpufreq_policy *policy,
- pm_message_t state)
+static int mxc_cpufreq_suspend(struct cpufreq_policy *policy)
{
pre_suspend_rate = clk_get_rate(cpu_clk);
/* Set to max freq and voltage */