summaryrefslogtreecommitdiffstats
path: root/drivers/char
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 15:02:26 -0500
commit5186cf9c74034a4a7856de9c8048493be34c457d (patch)
tree694bf55a3307aab820f7aa654264cf64c687cf71 /drivers/char
parenta7930899ca0082a33350b253c6ed34f67255f98e (diff)
downloadtalos-obmc-linux-5186cf9c74034a4a7856de9c8048493be34c457d.tar.gz
talos-obmc-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')
-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 },
{ },
};
OpenPOWER on IntegriCloud