commit | ed247d7ed518b2de44a446aadc1dbc2413cd1e04 | [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 | af569fb595ee944519875824e455d5810e1e556e [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>