On Fri, Jun 04, 2021 at 05:22:07PM +0200, Joerg Roedel wrote:
On Thu, Jun 03, 2021 at 09:26:39AM +0200, Jean-Philippe Brucker
wrote:
> These are only defined when CONFIG_IOMMU_API is set. IORT uses them inside
> an #ifdef, I can do the same. Maybe moving these two functions to a new
> drivers/acpi/iommu.c would be nicer, though.
Not sure what the ACPI maintainers and reviewers prefer, but I would
just #ifdef the functions and provide stubs in the #else path if
necessary.
Yes, I'll resend with that
Thanks,
Jean