summaryrefslogtreecommitdiff
path: root/drivers/char/ipmi/ipmi_dmi.h
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2017-09-18 12:38:17 -0500
committerCorey Minyard <cminyard@mvista.com>2017-09-28 12:26:03 -0500
commit95e300c052fd9dbb05f289a912c138ed03320ec5 (patch)
tree6c38b0838e6a657dca41cc684a60e924304957ee /drivers/char/ipmi/ipmi_dmi.h
parent55f91cb6f1dfc873359674f35a8ffb1e78429d22 (diff)
ipmi: Make the DMI probe into a generic platform probe
Rework the DMI probe function to be a generic platform probe, and then rework the DMI code (and a few other things) to use the more generic information. This is so other things can declare platform IPMI devices. Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char/ipmi/ipmi_dmi.h')
-rw-r--r--drivers/char/ipmi/ipmi_dmi.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/char/ipmi/ipmi_dmi.h b/drivers/char/ipmi/ipmi_dmi.h
index 0a1afe5ceb1e..062015b8f520 100644
--- a/drivers/char/ipmi/ipmi_dmi.h
+++ b/drivers/char/ipmi/ipmi_dmi.h
@@ -2,11 +2,7 @@
* DMI defines for use by IPMI
*/
-#define IPMI_DMI_TYPE_KCS 0x01
-#define IPMI_DMI_TYPE_SMIC 0x02
-#define IPMI_DMI_TYPE_BT 0x03
-#define IPMI_DMI_TYPE_SSIF 0x04
-
#ifdef CONFIG_IPMI_DMI_DECODE
-int ipmi_dmi_get_slave_addr(int type, u32 flags, unsigned long base_addr);
+int ipmi_dmi_get_slave_addr(enum si_type si_type, u32 flags,
+ unsigned long base_addr);
#endif