aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include/asm/iosf_mbi.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/linuxkpi/common/include/asm/iosf_mbi.h')
-rw-r--r--sys/compat/linuxkpi/common/include/asm/iosf_mbi.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/asm/iosf_mbi.h b/sys/compat/linuxkpi/common/include/asm/iosf_mbi.h
new file mode 100644
index 000000000000..a99c9cced6a4
--- /dev/null
+++ b/sys/compat/linuxkpi/common/include/asm/iosf_mbi.h
@@ -0,0 +1,15 @@
+/* Public domain. */
+
+#ifndef _LINUXKPI_ASM_IOSF_MBI_H_
+#define _LINUXKPI_ASM_IOSF_MBI_H_
+
+#define MBI_PMIC_BUS_ACCESS_BEGIN 1
+#define MBI_PMIC_BUS_ACCESS_END 2
+
+#define iosf_mbi_assert_punit_acquired()
+#define iosf_mbi_punit_acquire()
+#define iosf_mbi_punit_release()
+#define iosf_mbi_register_pmic_bus_access_notifier(x) 0
+#define iosf_mbi_unregister_pmic_bus_access_notifier_unlocked(x) 0
+
+#endif /* _LINUXKPI_ASM_IOSF_MBI_H_ */