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>
Loading
Please register or sign in to comment