diff options
author | Mathias Krause <minipli@googlemail.com> | 2015-06-13 12:26:56 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-06-15 12:28:32 (GMT) |
commit | 69cda6e0f035494188fd76749e35627e087b3ff8 (patch) | |
tree | d852dd7f72847bf2569cd8f7db6531be2cf6227e /drivers/acpi/hed.c | |
parent | 0f57d86787d8b1076ea8f9cbdddda2a46d534a27 (diff) | |
download | linux-69cda6e0f035494188fd76749e35627e087b3ff8.tar.xz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/hed.c b/drivers/acpi/hed.c index aafe3ca..a322710 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}, }; |