summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2015-06-13 12:26:57 (GMT)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-06-15 12:29:48 (GMT)
commitb03466883edb192b3e3877ea3f71036a3899ae51 (patch)
treef3944e401f3de0a783ef23a3a499faf42f37ffcd
parentddcc18f5bdd1aafd457032ec693fd9d0af764d61 (diff)
downloadlinux-b03466883edb192b3e3877ea3f71036a3899ae51.tar.xz
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>
-rw-r--r--drivers/acpi/processor_idle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index 39e0c8e..d540f42 100644
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -94,7 +94,7 @@ static int set_max_cstate(const struct dmi_system_id *id)
return 0;
}
-static struct dmi_system_id processor_power_dmi_table[] = {
+static const struct dmi_system_id processor_power_dmi_table[] = {
{ set_max_cstate, "Clevo 5600D", {
DMI_MATCH(DMI_BIOS_VENDOR,"Phoenix Technologies LTD"),
DMI_MATCH(DMI_BIOS_VERSION,"SHE845M0.86C.0013.D.0302131307")},