From: Mathias Krause Date: Sat, 13 Jun 2015 12:26:49 +0000 (+0200) Subject: ACPI / AC: constify DMI system id table X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=44f610cdfb8d1d134dc7756ad50287acfaee7f2e;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git ACPI / AC: constify DMI system id table There is no need to have ac_dmi_table[] writeable, constify it. Signed-off-by: Mathias Krause Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/acpi/ac.c b/drivers/acpi/ac.c index bbcc2b5a70d4..9b5354a2cd08 100644 --- a/drivers/acpi/ac.c +++ b/drivers/acpi/ac.c @@ -308,7 +308,7 @@ static int thinkpad_e530_quirk(const struct dmi_system_id *d) return 0; } -static struct dmi_system_id ac_dmi_table[] = { +static const struct dmi_system_id ac_dmi_table[] = { { .callback = thinkpad_e530_quirk, .ident = "thinkpad e530",