summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/freq_table.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2012-10-23 01:29:03 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2012-11-15 00:33:06 +0100
commitdb7011516cbfc3d867b77721f77258d36cfbf705 (patch)
tree709f37053ee26b30d0f668efe7f77a08c7b8cb0d /drivers/cpufreq/freq_table.c
parent2aacdfff9c6958723aa5076003247933cefc32ea (diff)
downloadlinux-stable-db7011516cbfc3d867b77721f77258d36cfbf705.tar.gz
linux-stable-db7011516cbfc3d867b77721f77258d36cfbf705.tar.bz2
linux-stable-db7011516cbfc3d867b77721f77258d36cfbf705.zip
cpufreq: Improve debug prints
With debug options on, it is difficult to locate cpufreq core's debug prints. Fix this by prefixing debug prints with KBUILD_MODNAME. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/freq_table.c')
-rw-r--r--drivers/cpufreq/freq_table.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/cpufreq/freq_table.c b/drivers/cpufreq/freq_table.c
index 90431cb92804..49cda256efb2 100644
--- a/drivers/cpufreq/freq_table.c
+++ b/drivers/cpufreq/freq_table.c
@@ -9,6 +9,8 @@
*
*/
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>