ipmi: constify SSIF ACPI device ids
authorMathias Krause <minipli@googlemail.com>
Sat, 13 Jun 2015 12:19:33 +0000 (14:19 +0200)
committerCorey Minyard <cminyard@mvista.com>
Thu, 3 Sep 2015 20:02:26 +0000 (15:02 -0500)
Constify the ACPI device ID array, it doesn't need to be writable at
runtime.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_ssif.c

index 428a5faef74d37adc5337d322ad84624816fc43f..b043d8d4582350d9bd2febdd16a38f1a76b809da 100644 (file)
@@ -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 },
        { },
 };