aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/cpufreq.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-09-21 04:53:26 -0400
committerPaul Mundt <lethal@linux-sh.org>2007-09-21 04:53:26 -0400
commit00765c816a6396e2bb3c6588019bda1508b62f6a (patch)
treefc0988766c861d44f1330beeaab05c57d370c705 /arch/sh/kernel/cpufreq.c
parentc1a069f960f32ff1721b1de12c875855133fe9e4 (diff)
sh: Make cpufreq driver less noisy on SMP.
The cpufreq driver banner is currently printed for each CPU, move it down so it's not as noisy and it's only printed once. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpufreq.c')
-rw-r--r--arch/sh/kernel/cpufreq.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sh/kernel/cpufreq.c b/arch/sh/kernel/cpufreq.c
index e61890217c50..c7668971ba6c 100644
--- a/arch/sh/kernel/cpufreq.c
+++ b/arch/sh/kernel/cpufreq.c
@@ -77,8 +77,6 @@ static int sh_cpufreq_target(struct cpufreq_policy *policy,
77 77
78static int sh_cpufreq_cpu_init(struct cpufreq_policy *policy) 78static int sh_cpufreq_cpu_init(struct cpufreq_policy *policy)
79{ 79{
80 printk(KERN_INFO "cpufreq: SuperH CPU frequency driver.\n");
81
82 if (!cpu_online(policy->cpu)) 80 if (!cpu_online(policy->cpu))
83 return -ENODEV; 81 return -ENODEV;
84 82
@@ -144,6 +142,7 @@ static struct cpufreq_driver sh_cpufreq_driver = {
144 142
145static int __init sh_cpufreq_module_init(void) 143static int __init sh_cpufreq_module_init(void)
146{ 144{
145 printk(KERN_INFO "cpufreq: SuperH CPU frequency driver.\n");
147 return cpufreq_register_driver(&sh_cpufreq_driver); 146 return cpufreq_register_driver(&sh_cpufreq_driver);
148} 147}
149 148