提交 e6dd76a6 编写于 作者: B Bhumika Goyal 提交者: Corey Minyard

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: NBhumika Goyal <bhumirks@gmail.com>
Signed-off-by: NCorey Minyard <cminyard@mvista.com>
上级 1c9f98d1
......@@ -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
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册