summaryrefslogtreecommitdiffstats
path: root/drivers/char/ipmi
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2015-06-13 14:19:33 +0200
committerCorey Minyard <cminyard@mvista.com>2015-09-03 22:02:26 +0200
commit5186cf9c74034a4a7856de9c8048493be34c457d (patch)
tree694bf55a3307aab820f7aa654264cf64c687cf71 /drivers/char/ipmi
parentipmi: Delete an unnecessary check before the function call "cleanup_one_si" (diff)
downloadlinux-5186cf9c74034a4a7856de9c8048493be34c457d.tar.xz
linux-5186cf9c74034a4a7856de9c8048493be34c457d.zip
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>
Diffstat (limited to 'drivers/char/ipmi')
-rw-r--r--drivers/char/ipmi/ipmi_ssif.c2
1 files changed, 1 insertions, 1 deletions
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 },
{ },
};