commit | e96ecbe71925f31ee43d353ceabe5b2c53df512f | [log] [tgz] |
---|---|---|
author | Caleb Connolly <caleb.connolly@linaro.org> | Mon Dec 11 18:41:40 2023 +0000 |
committer | Tom Rini <trini@konsulko.com> | Thu Dec 21 11:59:49 2023 -0500 |
tree | 9b3b3ba0624be05c4f5569022c52823f1c1aa545 | |
parent | f1b809c55c2762ab3bb47b3b11d769c04f46093a [diff] |
iommu: fix compilation when CONFIG_PCI disabled The dev_pci_iommu_enable() function is only available when CONFIG_PCI is enabled, replace the runtime check with a preprocessor one to fix compilation with pci disabled. Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>