diff options
author | Corey Minyard <cminyard@mvista.com> | 2017-01-05 17:52:54 +0100 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2017-02-09 16:10:05 +0100 |
commit | c690d141489b0788db9ba95cc33075ad37d3ec30 (patch) | |
tree | eb18b6374da864c2bacb3a3757aee3db73019e2f /drivers/acpi/acpi_ipmi.c | |
parent | ipmi: make ipmi_usr_hndl const (diff) | |
download | linux-c690d141489b0788db9ba95cc33075ad37d3ec30.tar.xz linux-c690d141489b0788db9ba95cc33075ad37d3ec30.zip |
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: Corey Minyard <cminyard@mvista.com>
Acked-by: Rafael J. Wysocki <rjw@rjwysocki.net>
Diffstat (limited to 'drivers/acpi/acpi_ipmi.c')
-rw-r--r-- | drivers/acpi/acpi_ipmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpi_ipmi.c b/drivers/acpi/acpi_ipmi.c index f77956c3fd45..747c2ba98534 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; /* |