Skip to content

Commit

Permalink
ACPI / AC: constify DMI system id table
Browse files Browse the repository at this point in the history
There is no need to have ac_dmi_table[] writeable, constify it.

Signed-off-by: Mathias Krause <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
  • Loading branch information
minipli authored and rafaeljw committed Jun 15, 2015
1 parent 0f57d86 commit 44f610c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/ac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 44f610c

Please sign in to comment.