summaryrefslogtreecommitdiff
path: root/drivers/char/ipmi/ipmi_smic_sm.c
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2015-06-13 10:34:25 -0500
committerCorey Minyard <cminyard@mvista.com>2015-09-03 15:02:27 -0500
commit81d02b7f8c507f06299476a0e5b2aa677c5eaecb (patch)
tree4c29fc370d9ebdcd853f835013195a158193410d /drivers/char/ipmi/ipmi_smic_sm.c
parent5186cf9c74034a4a7856de9c8048493be34c457d (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_smic_sm.c')
-rw-r--r--drivers/char/ipmi/ipmi_smic_sm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_smic_sm.c b/drivers/char/ipmi/ipmi_smic_sm.c
index c8e77afa8b96..8f7c73ff58f2 100644
--- a/drivers/char/ipmi/ipmi_smic_sm.c
+++ b/drivers/char/ipmi/ipmi_smic_sm.c
@@ -589,7 +589,7 @@ static int smic_size(void)
return sizeof(struct si_sm_data);
}
-struct si_sm_handlers smic_smi_handlers = {
+const struct si_sm_handlers smic_smi_handlers = {
.init_data = init_smic_data,
.start_transaction = start_smic_transaction,
.get_result = smic_get_result,