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_devintf.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_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, }; |