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

ACPI / AC: constify DMI system id table

There is no need to have ac_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
44f610cd 0f57d867

+1 -1
+1 -1
drivers/acpi/ac.c
··· 308 308 return 0; 309 309 } 310 310 311 - static struct dmi_system_id ac_dmi_table[] = { 311 + static const struct dmi_system_id ac_dmi_table[] = { 312 312 { 313 313 .callback = thinkpad_e530_quirk, 314 314 .ident = "thinkpad e530",