Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ACPI / processor: constify DMI system id table

There is no need to have processor_power_dmi_table[] writeable, constify
it.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Mathias Krause and committed by
Rafael J. Wysocki
b0346688 ddcc18f5

+1 -1
+1 -1
drivers/acpi/processor_idle.c
··· 94 94 return 0; 95 95 } 96 96 97 - static struct dmi_system_id processor_power_dmi_table[] = { 97 + static const struct dmi_system_id processor_power_dmi_table[] = { 98 98 { set_max_cstate, "Clevo 5600D", { 99 99 DMI_MATCH(DMI_BIOS_VENDOR,"Phoenix Technologies LTD"), 100 100 DMI_MATCH(DMI_BIOS_VERSION,"SHE845M0.86C.0013.D.0302131307")},