Message ID | 2339263.DWrxye4sI1@vostro.rjw.lan (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
On Fri, Jun 7, 2013 at 7:38 AM, Rafael J. Wysocki <rjw@sisk.pl> wrote: > From: Rafael J. Wysocki <rafael.j.wysocki@intel.com> > > After commit ac212b6 (ACPI / processor: Use common hotplug > infrastructure) the acpi-cpufreq module is not loaded automatically > by udev which fails to match it against the x86cpu modalias. Still, > it can be matched against ACPI processor device IDs, which even > makes more sense, because it depends on the ACPI processor driver > that uses those device IDs to bind to processor devices. > > For this reason, add ACPI processor device IDs to acpi-cpufreq. > > Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> > --- > > This patch is against the acpi-hotplug branch of the linux-pm.git tree which > is part of linux-next. > > Thanks, > Rafael > > --- > drivers/cpufreq/acpi-cpufreq.c | 7 +++++++ > 1 file changed, 7 insertions(+) Acked-by: Viresh Kumar <viresh.kumar@linaro.org> -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Index: linux-pm/drivers/cpufreq/acpi-cpufreq.c =================================================================== --- linux-pm.orig/drivers/cpufreq/acpi-cpufreq.c +++ linux-pm/drivers/cpufreq/acpi-cpufreq.c @@ -1034,4 +1034,11 @@ static const struct x86_cpu_id acpi_cpuf }; MODULE_DEVICE_TABLE(x86cpu, acpi_cpufreq_ids); +static const struct acpi_device_id processor_device_ids[] = { + {ACPI_PROCESSOR_OBJECT_HID, }, + {ACPI_PROCESSOR_DEVICE_HID, }, + {}, +}; +MODULE_DEVICE_TABLE(acpi, processor_device_ids); + MODULE_ALIAS("acpi");