summaryrefslogtreecommitdiffstats
path: root/drivers/char/ipmi/ipmi_dmi.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/ipmi/ipmi_dmi.h')
-rw-r--r--drivers/char/ipmi/ipmi_dmi.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/char/ipmi/ipmi_dmi.h b/drivers/char/ipmi/ipmi_dmi.h
new file mode 100644
index 000000000..8d2b094db
--- /dev/null
+++ b/drivers/char/ipmi/ipmi_dmi.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * DMI defines for use by IPMI
+ */
+
+#ifdef CONFIG_IPMI_DMI_DECODE
+int ipmi_dmi_get_slave_addr(enum si_type si_type, u32 flags,
+ unsigned long base_addr);
+#endif