acpi:ipmi: Make IPMI user handler const

ipmi_create_user() now takes the user handlers as const, make
it const in the ACPI IPMI code.

Cc: [email protected]
Cc: Zhao Yakui <[email protected]>
Cc: Lv Zheng <[email protected]>
Signed-off-by: Corey Minyard <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
This commit is contained in:
Corey Minyard 2017-01-05 10:52:54 -06:00
commit c690d14148

View file

@ -56,7 +56,7 @@ struct acpi_ipmi_device {
struct ipmi_driver_data {
struct list_head ipmi_devices;
struct ipmi_smi_watcher bmc_events;
struct ipmi_user_hndl ipmi_hndlrs;
const struct ipmi_user_hndl ipmi_hndlrs;
struct mutex ipmi_lock;
/*