Skip to content

Commit

Permalink
acpi:ipmi: Make IPMI user handler const
Browse files Browse the repository at this point in the history
ipmi_create_user() now takes the user handlers as const, make
it const in the ACPI IPMI code.

Cc: linux-acpi@vger.kernel.org
Cc: Zhao Yakui <yakui.zhao@intel.com>
Cc: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Acked-by: Rafael J. Wysocki <rjw@rjwysocki.net>
  • Loading branch information
Corey Minyard committed Feb 9, 2017
1 parent 210af2a commit c690d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/acpi_ipmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/*
Expand Down

0 comments on commit c690d14

Please sign in to comment.