]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00172374-1 i.mx: CPUFREQ: not use cpufreq_debug_printk
authorJason Liu <r64343@freescale.com>
Fri, 6 Jan 2012 09:37:29 +0000 (17:37 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:10:37 +0000 (14:10 +0200)
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 <r64343@freescale.com>
arch/arm/plat-mxc/cpufreq.c

index 0b44d11837a61cda3b0774cf27c805082f18ce4d..0774d52b315d3241e95f74c2bd4b4efdf8ab0bca 100755 (executable)
@@ -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 <mach/hardware.h>
 #include <mach/clock.h>
 
-#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;
        }