Skip to content

Commit

Permalink
eeepc-wmi: Constify asus_quirks[] DMI table
Browse files Browse the repository at this point in the history
Constify the asus_quirks[] DMI table. There's no need to have it
writeable during runtime.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: Corentin Chary <corentin.chary@gmail.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
  • Loading branch information
minipli authored and Matthew Garrett committed Aug 16, 2014
1 parent 76d51dd commit 7e6c227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/platform/x86/eeepc-wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ static int dmi_matched(const struct dmi_system_id *dmi)
return 1;
}

static struct dmi_system_id asus_quirks[] = {
static const struct dmi_system_id asus_quirks[] = {
{
.callback = dmi_matched,
.ident = "ASUSTeK Computer INC. 1000H",
Expand Down

0 comments on commit 7e6c227

Please sign in to comment.