diff options
author | Corey Minyard <[email protected]> | 2017-01-05 10:52:54 -0600 |
---|---|---|
committer | Corey Minyard <[email protected]> | 2017-02-09 09:10:05 -0600 |
commit | c690d141489b0788db9ba95cc33075ad37d3ec30 (patch) | |
tree | eb18b6374da864c2bacb3a3757aee3db73019e2f | |
parent | 210af2a5f12403a8968d6014742886cc7e9823b4 (diff) |
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]>
-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; /* |