From: Corey Minyard <[email protected]> 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]> --- drivers/acpi/acpi_ipmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/acpi_ipmi.c b/drivers/acpi/acpi_ipmi.c index f77956c..747c2ba 100644 --- a/drivers/acpi/acpi_ipmi.c +++ b/drivers/acpi/acpi_ipmi.c @@ -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; /* -- 2.7.4

