projects
/
wrapfs-3.14.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76d51dd
)
eeepc-wmi: Constify asus_quirks[] DMI table
author
Mathias Krause
<minipli@googlemail.com>
Wed, 16 Jul 2014 17:43:10 +0000
(19:43 +0200)
committer
Matthew Garrett
<matthew.garrett@nebula.com>
Sat, 16 Aug 2014 08:23:52 +0000
(
01:23
-0700)
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>
drivers/platform/x86/eeepc-wmi.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/eeepc-wmi.c
b/drivers/platform/x86/eeepc-wmi.c
index 6112933f627834cc1c4561feb68a3edc28492e5e..14fd2ecb06a10de7770c38cadba11091e70be21b 100644
(file)
--- 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",