summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2007-10-17 18:04:40 +0200
committerThomas Gleixner <tglx@inhelltoy.tec.linutronix.de>2007-10-17 20:16:48 +0200
commit0b4b5dde45a9416bf57c1e2e5ccf748e538368aa (patch)
tree4a1ccd2d96c8798fbb1d7b9522b19e026037735b
parentf6a2e7f2012eeced1dbf093bb98a1c38fee91f78 (diff)
downloadlinux-3.10-0b4b5dde45a9416bf57c1e2e5ccf748e538368aa.tar.gz
linux-3.10-0b4b5dde45a9416bf57c1e2e5ccf748e538368aa.tar.bz2
linux-3.10-0b4b5dde45a9416bf57c1e2e5ccf748e538368aa.zip
x86: fix dmi const-ify fallout
The dmi const-ification missed acer_cpu_freq_pst. Fix it. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--arch/x86/kernel/cpu/cpufreq/powernow-k7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/cpufreq/powernow-k7.c b/arch/x86/kernel/cpu/cpufreq/powernow-k7.c
index 7decd6a50ff..f3686a5f230 100644
--- a/arch/x86/kernel/cpu/cpufreq/powernow-k7.c
+++ b/arch/x86/kernel/cpu/cpufreq/powernow-k7.c
@@ -565,7 +565,7 @@ static unsigned int powernow_get(unsigned int cpu)
}
-static int __init acer_cpufreq_pst(struct dmi_system_id *d)
+static int __init acer_cpufreq_pst(const struct dmi_system_id *d)
{
printk(KERN_WARNING "%s laptop with broken PST tables in BIOS detected.\n", d->ident);
printk(KERN_WARNING "You need to downgrade to 3A21 (09/09/2002), or try a newer BIOS than 3A71 (01/20/2003)\n");