summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2015-06-13 14:26:56 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-06-15 14:28:32 +0200
commit69cda6e0f035494188fd76749e35627e087b3ff8 (patch)
treed852dd7f72847bf2569cd8f7db6531be2cf6227e
parentLinux 4.1-rc8 (diff)
downloadlinux-69cda6e0f035494188fd76749e35627e087b3ff8.tar.xz
linux-69cda6e0f035494188fd76749e35627e087b3ff8.zip
ACPI / HED: constify ACPI device ids
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>
-rw-r--r--drivers/acpi/hed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/hed.c b/drivers/acpi/hed.c
index aafe3ca829c2..a322710b5ba4 100644
--- 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},
};