powernow-k7: Fix CPU family number
Ben Hutchings [Sat, 11 Feb 2012 22:58:14 +0000 (22:58 +0000)]
Commit fa8031aefec0cf7ea6c2387c93610d99d9659aa2 ('cpufreq: Add support
for x86 cpuinfo auto loading v4') seems to have inadvertently changed
the matched CPU family number from 6 to 7.  Change it back.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Acked-by: Thomas Renninger <trenn@suse.de>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

drivers/cpufreq/powernow-k7.c

index 501d167..cf7e1ee 100644 (file)
@@ -112,7 +112,7 @@ static int check_fsb(unsigned int fsbspeed)
 }
 
 static const struct x86_cpu_id powernow_k7_cpuids[] = {
-       { X86_VENDOR_AMD, 7, },
+       { X86_VENDOR_AMD, 6, },
        {}
 };
 MODULE_DEVICE_TABLE(x86cpu, powernow_k7_cpuids);