summaryrefslogtreecommitdiffstats
path: root/drivers/char/ipmi/ipmi_watchdog.c
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2017-01-05 17:52:10 +0100
committerCorey Minyard <cminyard@mvista.com>2017-01-05 22:01:55 +0100
commit210af2a5f12403a8968d6014742886cc7e9823b4 (patch)
tree843d7f4e238f62dcc80b5b7311557a38cab78e72 /drivers/char/ipmi/ipmi_watchdog.c
parentDocumentation: Fix a typo in IPMI.txt. (diff)
downloadlinux-210af2a5f12403a8968d6014742886cc7e9823b4.tar.xz
linux-210af2a5f12403a8968d6014742886cc7e9823b4.zip
ipmi: make ipmi_usr_hndl const
It's only function pointers. Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char/ipmi/ipmi_watchdog.c')
-rw-r--r--drivers/char/ipmi/ipmi_watchdog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_watchdog.c b/drivers/char/ipmi/ipmi_watchdog.c
index 4035495f3a86..30b9e83bf1bf 100644
--- a/drivers/char/ipmi/ipmi_watchdog.c
+++ b/drivers/char/ipmi/ipmi_watchdog.c
@@ -985,7 +985,7 @@ static void ipmi_wdog_pretimeout_handler(void *handler_data)
pretimeout_since_last_heartbeat = 1;
}
-static struct ipmi_user_hndl ipmi_hndlrs = {
+static const struct ipmi_user_hndl ipmi_hndlrs = {
.ipmi_recv_hndl = ipmi_wdog_msg_handler,
.ipmi_watchdog_pretimeout = ipmi_wdog_pretimeout_handler
};