summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/hed.c
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 /drivers/acpi/hed.c
parent0f57d86787d8b1076ea8f9cbdddda2a46d534a27 (diff)
downloadlinux-69cda6e0f035494188fd76749e35627e087b3ff8.tar.bz2
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>
Diffstat (limited to 'drivers/acpi/hed.c')
-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},
};