summaryrefslogtreecommitdiff
path: root/include/linux/ipmi.h
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2017-01-05 10:52:10 -0600
committerCorey Minyard <cminyard@mvista.com>2017-01-05 15:01:55 -0600
commit210af2a5f12403a8968d6014742886cc7e9823b4 (patch)
tree843d7f4e238f62dcc80b5b7311557a38cab78e72 /include/linux/ipmi.h
parent08f6cd01fe77712fda512472346647021a8a3c25 (diff)
ipmi: make ipmi_usr_hndl const
It's only function pointers. Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'include/linux/ipmi.h')
-rw-r--r--include/linux/ipmi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ipmi.h b/include/linux/ipmi.h
index 78c5d5ae3857..f1045b2c6a00 100644
--- a/include/linux/ipmi.h
+++ b/include/linux/ipmi.h
@@ -100,7 +100,7 @@ struct ipmi_user_hndl {
/* Create a new user of the IPMI layer on the given interface number. */
int ipmi_create_user(unsigned int if_num,
- struct ipmi_user_hndl *handler,
+ const struct ipmi_user_hndl *handler,
void *handler_data,
ipmi_user_t *user);