IPMI: make ipmi_poweroff_handler const

Make this const as it is only passed to a const argument of the function
ipmi_create_user.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
This commit is contained in:
Bhumika Goyal 2017-08-28 23:38:15 +05:30 committed by Corey Minyard
parent 1c9f98d1bf
commit e6dd76a6e9
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ static void receive_handler(struct ipmi_recv_msg *recv_msg, void *handler_data)
complete(comp);
}
static struct ipmi_user_hndl ipmi_poweroff_handler = {
static const struct ipmi_user_hndl ipmi_poweroff_handler = {
.ipmi_recv_hndl = receive_handler
};