diff options
author | 2015-06-13 14:26:56 +0200 | |
---|---|---|
committer | 2015-06-15 14:28:32 +0200 | |
commit | 69cda6e0f035494188fd76749e35627e087b3ff8 (patch) | |
tree | d852dd7f72847bf2569cd8f7db6531be2cf6227e /drivers | |
parent | Linux 4.1-rc8 (diff) | |
download | linux-69cda6e0f035494188fd76749e35627e087b3ff8.tar.gz linux-69cda6e0f035494188fd76749e35627e087b3ff8.tar.bz2 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>
Diffstat (limited to 'drivers')
-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 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}, }; |