Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e6dd76a6 authored by Bhumika Goyal's avatar Bhumika Goyal Committed by Corey Minyard
Browse files

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: default avatarBhumika Goyal <bhumirks@gmail.com>
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent 1c9f98d1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
};