From: Mathias Krause Date: Wed, 16 Jul 2014 17:43:10 +0000 (+0200) Subject: eeepc-wmi: Constify asus_quirks[] DMI table X-Git-Tag: Ubuntu-5.0.0-8.9~10981^2~20 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=7e6c227cebeee59ffe37bccde698ad45f6210ef0;p=mirror_ubuntu-disco-kernel.git eeepc-wmi: Constify asus_quirks[] DMI table Constify the asus_quirks[] DMI table. There's no need to have it writeable during runtime. Signed-off-by: Mathias Krause Cc: Corentin Chary Signed-off-by: Matthew Garrett --- diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c index 6112933f6278..14fd2ecb06a1 100644 --- a/drivers/platform/x86/eeepc-wmi.c +++ b/drivers/platform/x86/eeepc-wmi.c @@ -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",