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

Commit c690d141 authored by Corey Minyard's avatar Corey Minyard
Browse files

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: linux-acpi@vger.kernel.org
Cc: Zhao Yakui <yakui.zhao@intel.com>
Cc: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
Acked-by: default avatarRafael J. Wysocki <rjw@rjwysocki.net>
parent 210af2a5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;

	/*