linuxkpi: Define device_iommu_mapped()

For now, it always return false.

Reviewed by:	manu
Approved by:	manu
Differential Revision:	https://reviews.freebsd.org/D39050
This commit is contained in:
Jean-Sébastien Pédron 2023-02-20 21:42:38 +01:00
parent 0777b000f1
commit e91f5814b8
No known key found for this signature in database
GPG Key ID: 39E99761A5FD94CC

View File

@ -577,6 +577,12 @@ device_wakeup_enable(struct device *dev)
return (0);
}
static inline bool
device_iommu_mapped(struct device *dev __unused)
{
return (false);
}
#define dev_pm_set_driver_flags(dev, flags) do { \
} while (0)