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
This commit is contained in:
Emmanuel Vadot 2022-06-23 10:12:27 +02:00
parent 631bf94fe9
commit 137e91dbf6

View File

@ -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_ */