summaryrefslogtreecommitdiff
path: root/include/linux/ipmi_smi.h
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2015-06-13 10:34:25 -0500
committerCorey Minyard <cminyard@mvista.com>2015-09-03 15:02:27 -0500
commit81d02b7f8c507f06299476a0e5b2aa677c5eaecb (patch)
tree4c29fc370d9ebdcd853f835013195a158193410d /include/linux/ipmi_smi.h
parent5186cf9c74034a4a7856de9c8048493be34c457d (diff)
downloadlwn-81d02b7f8c507f06299476a0e5b2aa677c5eaecb.tar.gz
lwn-81d02b7f8c507f06299476a0e5b2aa677c5eaecb.zip
ipmi: Make some data const that was only read
Several data structures were only used for reading, so make them const. Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'include/linux/ipmi_smi.h')
-rw-r--r--include/linux/ipmi_smi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ipmi_smi.h b/include/linux/ipmi_smi.h
index 0b1e569f5ff5..41de0cf34c49 100644
--- a/include/linux/ipmi_smi.h
+++ b/include/linux/ipmi_smi.h
@@ -207,7 +207,7 @@ static inline int ipmi_demangle_device_id(const unsigned char *data,
upper layer until the start_processing() function in the handlers
is called, and the lower layer must get the interface from that
call. */
-int ipmi_register_smi(struct ipmi_smi_handlers *handlers,
+int ipmi_register_smi(const struct ipmi_smi_handlers *handlers,
void *send_info,
struct ipmi_device_id *device_id,
struct device *dev,