projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d997d88
)
asus-nb-wmi: Constify asus_quirks[] DMI table
author
Mathias Krause
<
[email protected]
>
Wed, 16 Jul 2014 17:43:08 +0000
(19:43 +0200)
committer
Matthew Garrett
<
[email protected]
>
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 <
[email protected]
>
Cc: Corentin Chary <
[email protected]
>
Signed-off-by: Matthew Garrett <
[email protected]
>
drivers/platform/x86/asus-nb-wmi.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/asus-nb-wmi.c
b/drivers/platform/x86/asus-nb-wmi.c
index c5da5b7c4a10c39b318ffa4f3e2dd5856c78c65e..f3af2032e415fc752fd400cfcb884017c2960d68 100644
(file)
--- a/
drivers/platform/x86/asus-nb-wmi.c
+++ b/
drivers/platform/x86/asus-nb-wmi.c
@@
-84,7
+84,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. X401U",