Explorar o código

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 <minipli@googlemail.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Mathias Krause %!s(int64=10) %!d(string=hai) anos
pai
achega
5186cf9c74
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/char/ipmi/ipmi_ssif.c

+ 1 - 1
drivers/char/ipmi/ipmi_ssif.c

@@ -1787,7 +1787,7 @@ skip_addr:
 }
 }
 
 
 #ifdef CONFIG_ACPI
 #ifdef CONFIG_ACPI
-static struct acpi_device_id ssif_acpi_match[] = {
+static const struct acpi_device_id ssif_acpi_match[] = {
 	{ "IPI0001", 0 },
 	{ "IPI0001", 0 },
 	{ },
 	{ },
 };
 };