aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/eeepc-wmi.c
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2014-07-16 13:43:10 -0400
committerMatthew Garrett <matthew.garrett@nebula.com>2014-08-16 04:23:52 -0400
commit7e6c227cebeee59ffe37bccde698ad45f6210ef0 (patch)
treebf792660ad23e60df85d8b01d5d956a4886a1b66 /drivers/platform/x86/eeepc-wmi.c
parent76d51dd9a07abcfaf1e3fe67a9656238a89b771f (diff)
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 <minipli@googlemail.com> Cc: Corentin Chary <corentin.chary@gmail.com> Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Diffstat (limited to 'drivers/platform/x86/eeepc-wmi.c')
-rw-r--r--drivers/platform/x86/eeepc-wmi.c2
1 files changed, 1 insertions, 1 deletions
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)
145 return 1; 145 return 1;
146} 146}
147 147
148static struct dmi_system_id asus_quirks[] = { 148static const struct dmi_system_id asus_quirks[] = {
149 { 149 {
150 .callback = dmi_matched, 150 .callback = dmi_matched,
151 .ident = "ASUSTeK Computer INC. 1000H", 151 .ident = "ASUSTeK Computer INC. 1000H",