From: Mathias Krause Date: Sat, 13 Jun 2015 12:26:56 +0000 (+0200) Subject: ACPI / HED: constify ACPI device ids X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=69cda6e0f035494188fd76749e35627e087b3ff8;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Rafael J. Wysocki --- 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 #include -static struct acpi_device_id acpi_hed_ids[] = { +static const struct acpi_device_id acpi_hed_ids[] = { {"PNP0C33", 0}, {"", 0}, };