ACPI / HED: constify ACPI device ids
authorMathias Krause <minipli@googlemail.com>
Sat, 13 Jun 2015 12:26:56 +0000 (14:26 +0200)
committerRafael 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

index aafe3ca829c28b4a22a8f2a708df6d69093349e9..a322710b5ba47cd13ec1c35120db05ff9e834a1c 100644 (file)
@@ -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},
 };