diff options
author | Corey Minyard <cminyard@mvista.com> | 2015-06-13 10:34:25 -0500 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2015-09-03 15:02:27 -0500 |
commit | 81d02b7f8c507f06299476a0e5b2aa677c5eaecb (patch) | |
tree | 4c29fc370d9ebdcd853f835013195a158193410d /drivers/char/ipmi/ipmi_kcs_sm.c | |
parent | 5186cf9c74034a4a7856de9c8048493be34c457d (diff) | |
download | lwn-81d02b7f8c507f06299476a0e5b2aa677c5eaecb.tar.gz lwn-81d02b7f8c507f06299476a0e5b2aa677c5eaecb.zip |
ipmi: Make some data const that was only read
Several data structures were only used for reading, so make them
const.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char/ipmi/ipmi_kcs_sm.c')
-rw-r--r-- | drivers/char/ipmi/ipmi_kcs_sm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_kcs_sm.c b/drivers/char/ipmi/ipmi_kcs_sm.c index 8c25f596808a..1da61af7f576 100644 --- a/drivers/char/ipmi/ipmi_kcs_sm.c +++ b/drivers/char/ipmi/ipmi_kcs_sm.c @@ -540,7 +540,7 @@ static void kcs_cleanup(struct si_sm_data *kcs) { } -struct si_sm_handlers kcs_smi_handlers = { +const struct si_sm_handlers kcs_smi_handlers = { .init_data = init_kcs_data, .start_transaction = start_kcs_transaction, .get_result = get_kcs_result, |