projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f57d86
)
ACPI / AC: constify DMI system id table
author
Mathias Krause
<minipli@googlemail.com>
Sat, 13 Jun 2015 12:26:49 +0000
(14:26 +0200)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Mon, 15 Jun 2015 12:14:49 +0000
(14:14 +0200)
There is no need to have ac_dmi_table[] writeable, constify it.
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/ac.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/acpi/ac.c
b/drivers/acpi/ac.c
index bbcc2b5a70d4aa53a9b014c871241e93aaab66e3..9b5354a2cd0897f1626b302f88722a78d0bd4f96 100644
(file)
--- a/
drivers/acpi/ac.c
+++ b/
drivers/acpi/ac.c
@@
-308,7
+308,7
@@
static int thinkpad_e530_quirk(const struct dmi_system_id *d)
return 0;
}
-static struct dmi_system_id ac_dmi_table[] = {
+static
const
struct dmi_system_id ac_dmi_table[] = {
{
.callback = thinkpad_e530_quirk,
.ident = "thinkpad e530",