summaryrefslogtreecommitdiff
path: root/drivers/char/ipmi/ipmi_powernv.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-03-01 08:06:30 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2017-03-01 08:06:30 +0300
commit2d6be4abf514fc26c83d239c7f31da1f95e4a31d (patch)
tree674bb7285194fff110112f2848e3a907ef044e39 /drivers/char/ipmi/ipmi_powernv.c
parentcf393195c3ba5d4c0a8e237eb00f7ef104876ee5 (diff)
parenteb994594bc22220976f367c03ffa141580aa45e4 (diff)
downloadlinux-2d6be4abf514fc26c83d239c7f31da1f95e4a31d.tar.xz
Merge tag 'for-linus-4.11' of git://git.code.sf.net/p/openipmi/linux-ipmi
Pull IPMI updates from Corey Minyard: "This is a few small fixes to the main IPMI driver, make some things const, fix typos, etc. The last patch came in about a week ago, but IMHO it's best to go in now. It is not for the main driver, it's for the bt-bmc driver, which runs on the managment controller side, not on the host side, so the scope is limited and the change is necessary" * tag 'for-linus-4.11' of git://git.code.sf.net/p/openipmi/linux-ipmi: ipmi: bt-bmc: Use a regmap for register access char: ipmi: constify ipmi_smi_handlers structures acpi:ipmi: Make IPMI user handler const ipmi: make ipmi_usr_hndl const Documentation: Fix a typo in IPMI.txt.
Diffstat (limited to 'drivers/char/ipmi/ipmi_powernv.c')
-rw-r--r--drivers/char/ipmi/ipmi_powernv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_powernv.c b/drivers/char/ipmi/ipmi_powernv.c
index 6e658aa114f1..b338a4becbf8 100644
--- a/drivers/char/ipmi/ipmi_powernv.c
+++ b/drivers/char/ipmi/ipmi_powernv.c
@@ -196,7 +196,7 @@ static void ipmi_powernv_poll(void *send_info)
ipmi_powernv_recv(smi);
}
-static struct ipmi_smi_handlers ipmi_powernv_smi_handlers = {
+static const struct ipmi_smi_handlers ipmi_powernv_smi_handlers = {
.owner = THIS_MODULE,
.start_processing = ipmi_powernv_start_processing,
.sender = ipmi_powernv_send,