diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2012-10-22 19:29:03 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-11-14 18:33:06 -0500 |
commit | db7011516cbfc3d867b77721f77258d36cfbf705 (patch) | |
tree | 709f37053ee26b30d0f668efe7f77a08c7b8cb0d /drivers/cpufreq/cpufreq_performance.c | |
parent | 2aacdfff9c6958723aa5076003247933cefc32ea (diff) |
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/cpufreq_performance.c')
-rw-r--r-- | drivers/cpufreq/cpufreq_performance.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/cpufreq/cpufreq_performance.c b/drivers/cpufreq/cpufreq_performance.c index f13a8a9af6a1..ceee06849b91 100644 --- a/drivers/cpufreq/cpufreq_performance.c +++ b/drivers/cpufreq/cpufreq_performance.c | |||
@@ -10,6 +10,8 @@ | |||
10 | * | 10 | * |
11 | */ | 11 | */ |
12 | 12 | ||
13 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||
14 | |||
13 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
14 | #include <linux/module.h> | 16 | #include <linux/module.h> |
15 | #include <linux/cpufreq.h> | 17 | #include <linux/cpufreq.h> |