projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a793089
)
ipmi: constify SSIF ACPI device ids
author
Mathias Krause
<minipli@googlemail.com>
Sat, 13 Jun 2015 12:19:33 +0000
(14:19 +0200)
committer
Corey 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/ipmi/ipmi_ssif.c
b/drivers/char/ipmi/ipmi_ssif.c
index 428a5faef74d37adc5337d322ad84624816fc43f..b043d8d4582350d9bd2febdd16a38f1a76b809da 100644
(file)
--- 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 },
{ },
};