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_bt_sm.c | |
parent | 5186cf9c74034a4a7856de9c8048493be34c457d (diff) |
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_bt_sm.c')
-rw-r--r-- | drivers/char/ipmi/ipmi_bt_sm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_bt_sm.c b/drivers/char/ipmi/ipmi_bt_sm.c index 61e71616689b..feafdab734ae 100644 --- a/drivers/char/ipmi/ipmi_bt_sm.c +++ b/drivers/char/ipmi/ipmi_bt_sm.c @@ -694,7 +694,7 @@ static int bt_size(void) return sizeof(struct si_sm_data); } -struct si_sm_handlers bt_smi_handlers = { +const struct si_sm_handlers bt_smi_handlers = { .init_data = bt_init_data, .start_transaction = bt_start_transaction, .get_result = bt_get_result, |