From c2076f465bb8bc3d1d6d4f56a569e24523090216 Mon Sep 17 00:00:00 2001
From: Dave Jones <davej@redhat.com>
Date: Thu, 8 Apr 2004 18:54:57 +0100
Subject: [PATCH] [CPUFREQ] Quieten powernow-k7 in the built-in case. The other
 cpufreq drivers are quiet in the 'dont have hardware' case, so this should
 follow suit.

---
 arch/i386/kernel/cpu/cpufreq/powernow-k7.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/i386/kernel/cpu/cpufreq/powernow-k7.c b/arch/i386/kernel/cpu/cpufreq/powernow-k7.c
index c77c9637592d..9158b1040630 100644
--- a/arch/i386/kernel/cpu/cpufreq/powernow-k7.c
+++ b/arch/i386/kernel/cpu/cpufreq/powernow-k7.c
@@ -106,7 +106,9 @@ static int check_powernow(void)
 	/* Get maximum capabilities */
 	maxei = cpuid_eax (0x80000000);
 	if (maxei < 0x80000007) {	/* Any powernow info ? */
+#ifdef MODULE
 		printk (KERN_INFO PFX "No powernow capabilities detected\n");
+#endif
 		return 0;
 	}
 
-- 
2.30.9