diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2022-06-23 08:12:27 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2022-06-29 07:55:19 +0000 |
commit | 137e91dbf68969ffb1762286889e2e22dd8d1118 (patch) | |
tree | 3fc217ceabe99c6f9f5cc8902f1f16e152b665c4 /sys/compat/linuxkpi/common/include/asm | |
parent | 631bf94fe9dffb48377061e5b95812990f687b3d (diff) | |
download | src-137e91dbf68969ffb1762286889e2e22dd8d1118.tar.gz src-137e91dbf68969ffb1762286889e2e22dd8d1118.zip |
linuxkpi: Add asm/iosfmbi.h
Provide dummy functions needed for drm-kmod.
Obtain from: OpenBSD (via drm-kmod)
MFC after: 1 week
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D35570
Diffstat (limited to 'sys/compat/linuxkpi/common/include/asm')
-rw-r--r-- | sys/compat/linuxkpi/common/include/asm/iosf_mbi.h | 15 |
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_ */ |