]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: Add module aliases for acpi-cpufreq
authorMatthew Garrett <matthew.garrett@nebula.com>
Tue, 22 Jan 2013 21:33:46 +0000 (22:33 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 22 Jan 2013 21:33:46 +0000 (22:33 +0100)
commit31b4a61cc5fe99da158762478475659c303f262c
treede6f19a5772bbb1b07b13cf758dd89b3bcc1f0bb
parent8743840b66c3038181a9abeea1f9feb8584c8e1b
cpufreq: Add module aliases for acpi-cpufreq

The acpi core will call request_module("acpi-cpufreq") on subsystem init,
but this will fail if the module isn't available at that stage of boot.
Add some module aliases to ensure that udev can load the module on Intel
and AMD systems with the appropriate feature bits - I /think/ that this
will also work on VIA systems, but haven't verified that.

References: http://lkml.kernel.org/r/1448223.sdUJnNSRz4@vostro.rjw.lan
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Tested-by: Leonid Isaev <lisaev@umail.iu.edu>
Acked-by: Borislav Petkov <bp@suse.de>
Cc: 3.7+ <stable@vger.kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/acpi-cpufreq.c