Commit c655affbd524d0105978ecd696c3bb8a281b418b
1 parent
aba6efc471
Exists in
smarc-imx_3.14.28_1.0.0_ga
and in
1 other branch
ACPI / cpufreq: Add ACPI processor device IDs to acpi-cpufreq
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> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Showing 1 changed file with 7 additions and 0 deletions Side-by-side Diff
drivers/cpufreq/acpi-cpufreq.c
... | ... | @@ -1034,5 +1034,12 @@ |
1034 | 1034 | }; |
1035 | 1035 | MODULE_DEVICE_TABLE(x86cpu, acpi_cpufreq_ids); |
1036 | 1036 | |
1037 | +static const struct acpi_device_id processor_device_ids[] = { | |
1038 | + {ACPI_PROCESSOR_OBJECT_HID, }, | |
1039 | + {ACPI_PROCESSOR_DEVICE_HID, }, | |
1040 | + {}, | |
1041 | +}; | |
1042 | +MODULE_DEVICE_TABLE(acpi, processor_device_ids); | |
1043 | + | |
1037 | 1044 | MODULE_ALIAS("acpi"); |