From: Jason Liu Date: Fri, 6 Jan 2012 09:37:29 +0000 (+0800) Subject: ENGR00172374-1 i.mx: CPUFREQ: not use cpufreq_debug_printk X-Git-Tag: v3.0.35-fsl_4.1.0~1787 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a7c06afa32d3e05f19cfc357b22b98570cb54786;p=karo-tx-linux.git ENGR00172374-1 i.mx: CPUFREQ: not use cpufreq_debug_printk fix the building errors when upgrade to v3.0 commit: d06d8c [CPUFREQ] use dynamic debug instead of custom infrastructure has removed cpufreq_debug_printk, we will give one update for i.mx driver Signed-off-by: Jason Liu --- diff --git a/arch/arm/plat-mxc/cpufreq.c b/arch/arm/plat-mxc/cpufreq.c index 0b44d11837a6..0774d52b315d 100755 --- a/arch/arm/plat-mxc/cpufreq.c +++ b/arch/arm/plat-mxc/cpufreq.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2011 Freescale Semiconductor, Inc. All Rights Reserved. + * Copyright (C) 2010-2012 Freescale Semiconductor, Inc. All Rights Reserved. */ /* @@ -29,9 +29,6 @@ #include #include -#define dprintk(msg...) cpufreq_debug_printk(CPUFREQ_DEBUG_CORE, \ - "cpufreq-core", msg) - #define CLK32_FREQ 32768 #define NANOSECOND (1000 * 1000 * 1000) @@ -135,7 +132,7 @@ static int mxc_set_target(struct cpufreq_policy *policy, cpufreq_notify_transition(&freqs, CPUFREQ_PRECHANGE); cpufreq_notify_transition(&freqs, CPUFREQ_POSTCHANGE); - dprintk("DVFS core is active, cannot change FREQ using CPUFREQ\n"); + pr_debug("DVFS core is active, cannot change FREQ using CPUFREQ\n"); return ret; }