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:
ddcc18f
)
ACPI / processor: constify DMI system id table
author
Mathias Krause
<minipli@googlemail.com>
Sat, 13 Jun 2015 12:26:57 +0000
(14:26 +0200)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Mon, 15 Jun 2015 12:29:48 +0000
(14:29 +0200)
There is no need to have processor_power_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/processor_idle.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/processor_idle.c
b/drivers/acpi/processor_idle.c
index 39e0c8e36244f75aac3de4f09a0a89817e035b91..d540f42c9232818b7f0a1f524eb6244122dcc8b6 100644
(file)
--- a/
drivers/acpi/processor_idle.c
+++ b/
drivers/acpi/processor_idle.c
@@
-94,7
+94,7
@@
static int set_max_cstate(const struct dmi_system_id *id)
return 0;
}
-static struct dmi_system_id processor_power_dmi_table[] = {
+static
const
struct dmi_system_id processor_power_dmi_table[] = {
{ set_max_cstate, "Clevo 5600D", {
DMI_MATCH(DMI_BIOS_VENDOR,"Phoenix Technologies LTD"),
DMI_MATCH(DMI_BIOS_VERSION,"SHE845M0.86C.0013.D.0302131307")},