With PCI disabled the build fails due to undefined struct pci_host_bridge. Add ifdef guard around pci-host-rcar4.h to not include it when PCI support is disabled.
Signed-off-by: Mykyta Poturai <mykyta_potu...@epam.com> --- This patch can be squashed with iommu/ipmmu-vmsa: Implement basic PCIE-IPMMU OSID support --- xen/drivers/passthrough/arm/ipmmu-vmsa.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/drivers/passthrough/arm/ipmmu-vmsa.c b/xen/drivers/passthrough/arm/ipmmu-vmsa.c index ea9fa9ddf3..49f149e222 100644 --- a/xen/drivers/passthrough/arm/ipmmu-vmsa.c +++ b/xen/drivers/passthrough/arm/ipmmu-vmsa.c @@ -51,7 +51,9 @@ #include <asm/device.h> #include <asm/io.h> #include <asm/iommu_fwspec.h> +#ifdef CONFIG_HAS_PCI #include "../arch/arm/pci/pci-host-rcar4.h" +#endif #define dev_name(dev) dt_node_full_name(dev_to_dt(dev)) -- 2.34.1