diff options
author | Corey Minyard <cminyard@mvista.com> | 2017-01-05 17:52:10 +0100 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2017-01-05 22:01:55 +0100 |
commit | 210af2a5f12403a8968d6014742886cc7e9823b4 (patch) | |
tree | 843d7f4e238f62dcc80b5b7311557a38cab78e72 /drivers/char/ipmi/ipmi_watchdog.c | |
parent | Documentation: Fix a typo in IPMI.txt. (diff) | |
download | linux-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.c | 2 |
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 }; |