diff options
author | Dave Jones <davej@redhat.com> | 2006-06-01 11:38:28 -0400 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2006-06-01 11:38:28 -0400 |
commit | 911cb74bb9e77e40749abc2fca6fe74d87d940f3 (patch) | |
tree | 19e5fe6f750315a94abf5057a0ea41947f2c92bb /arch/i386 | |
parent | 75de7d55f8e148848cadefc92140d8f083d13924 (diff) |
[CPUFREQ] Make acpi-cpufreq 'sticky'.
This prevents annoying messages being printed when it gets
loaded on a machine that doesn't have support scaling via ACPI.
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/i386')
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c b/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c index 030e741642f6..1a7bdcef1926 100644 --- a/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c +++ b/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c | |||
@@ -443,14 +443,15 @@ static struct freq_attr* acpi_cpufreq_attr[] = { | |||
443 | }; | 443 | }; |
444 | 444 | ||
445 | static struct cpufreq_driver acpi_cpufreq_driver = { | 445 | static struct cpufreq_driver acpi_cpufreq_driver = { |
446 | .verify = acpi_cpufreq_verify, | 446 | .verify = acpi_cpufreq_verify, |
447 | .target = acpi_cpufreq_target, | 447 | .target = acpi_cpufreq_target, |
448 | .init = acpi_cpufreq_cpu_init, | 448 | .init = acpi_cpufreq_cpu_init, |
449 | .exit = acpi_cpufreq_cpu_exit, | 449 | .exit = acpi_cpufreq_cpu_exit, |
450 | .resume = acpi_cpufreq_resume, | 450 | .resume = acpi_cpufreq_resume, |
451 | .name = "acpi-cpufreq", | 451 | .name = "acpi-cpufreq", |
452 | .owner = THIS_MODULE, | 452 | .owner = THIS_MODULE, |
453 | .attr = acpi_cpufreq_attr, | 453 | .attr = acpi_cpufreq_attr, |
454 | .flags = CPUFREQ_STICKY, | ||
454 | }; | 455 | }; |
455 | 456 | ||
456 | 457 | ||