diff options
author | Corey Minyard <cminyard@mvista.com> | 2017-01-05 10:52:10 -0600 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2017-01-05 15:01:55 -0600 |
commit | 210af2a5f12403a8968d6014742886cc7e9823b4 (patch) | |
tree | 843d7f4e238f62dcc80b5b7311557a38cab78e72 /drivers/char/ipmi/ipmi_devintf.c | |
parent | 08f6cd01fe77712fda512472346647021a8a3c25 (diff) |
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_devintf.c')
-rw-r--r-- | drivers/char/ipmi/ipmi_devintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_devintf.c b/drivers/char/ipmi/ipmi_devintf.c index a21407de46ae..f45119c5337d 100644 --- a/drivers/char/ipmi/ipmi_devintf.c +++ b/drivers/char/ipmi/ipmi_devintf.c @@ -108,7 +108,7 @@ static int ipmi_fasync(int fd, struct file *file, int on) return (result); } -static struct ipmi_user_hndl ipmi_hndlrs = +static const struct ipmi_user_hndl ipmi_hndlrs = { .ipmi_recv_hndl = file_receive_handler, }; |