From: Mathias Krause Date: Sat, 13 Jun 2015 12:19:33 +0000 (+0200) Subject: ipmi: constify SSIF ACPI device ids X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5186cf9c74034a4a7856de9c8048493be34c457d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ipmi: constify SSIF ACPI device ids Constify the ACPI device ID array, it doesn't need to be writable at runtime. Signed-off-by: Mathias Krause Signed-off-by: Corey Minyard --- diff --git a/drivers/char/ipmi/ipmi_ssif.c b/drivers/char/ipmi/ipmi_ssif.c index 428a5faef74d..b043d8d45823 100644 --- a/drivers/char/ipmi/ipmi_ssif.c +++ b/drivers/char/ipmi/ipmi_ssif.c @@ -1787,7 +1787,7 @@ skip_addr: } #ifdef CONFIG_ACPI -static struct acpi_device_id ssif_acpi_match[] = { +static const struct acpi_device_id ssif_acpi_match[] = { { "IPI0001", 0 }, { }, };