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:
0f57d86
)
ACPI / HED: constify ACPI device ids
author
Mathias Krause
<minipli@googlemail.com>
Sat, 13 Jun 2015 12:26:56 +0000
(14:26 +0200)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Mon, 15 Jun 2015 12:28:32 +0000
(14:28 +0200)
Constify the acpi_hed_ids[] ACPI device IDs array -- no need to have it
writeable.
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/hed.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/hed.c
b/drivers/acpi/hed.c
index aafe3ca829c28b4a22a8f2a708df6d69093349e9..a322710b5ba47cd13ec1c35120db05ff9e834a1c 100644
(file)
--- a/
drivers/acpi/hed.c
+++ b/
drivers/acpi/hed.c
@@
-27,7
+27,7
@@
#include <linux/acpi.h>
#include <acpi/hed.h>
-static struct acpi_device_id acpi_hed_ids[] = {
+static
const
struct acpi_device_id acpi_hed_ids[] = {
{"PNP0C33", 0},
{"", 0},
};