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)
commitefa17194581bdfca0986dabc178908bd7c21ba00
treede6f19a5772bbb1b07b13cf758dd89b3bcc1f0bb
parent9855d8ce41a7801548a05d844db2f46c3e810166
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