summaryrefslogtreecommitdiffstats
path: root/drivers/char/ipmi/ipmi_plat_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/ipmi/ipmi_plat_data.h')
-rw-r--r--drivers/char/ipmi/ipmi_plat_data.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/char/ipmi/ipmi_plat_data.h b/drivers/char/ipmi/ipmi_plat_data.h
index 567cfcec8ada..9ba744ea9571 100644
--- a/drivers/char/ipmi/ipmi_plat_data.h
+++ b/drivers/char/ipmi/ipmi_plat_data.h
@@ -6,7 +6,10 @@
#include <linux/ipmi.h>
+enum ipmi_plat_interface_type { IPMI_PLAT_IF_SI, IPMI_PLAT_IF_SSIF };
+
struct ipmi_plat_data {
+ enum ipmi_plat_interface_type iftype;
unsigned int type; /* si_type for si, SI_INVALID for others */
unsigned int space; /* addr_space for si, intf# for ssif. */
unsigned long addr;