From: Ben Hutchings Date: Tue, 31 Dec 2013 19:46:27 +0000 (+0100) Subject: xen/pci: Fix build on non-x86 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b7ef4a6dd35d1b47db72fbd1a31c8fd0da7a74f3;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git xen/pci: Fix build on non-x86 We can't include if this isn't x86, and we only need it if CONFIG_PCI_MMCONFIG is enabled. Fixes: 8deb3eb1461e ('xen/mcfg: Call PHYSDEVOP_pci_mmcfg_reserved for MCFG areas.') Signed-off-by: Ben Hutchings Signed-off-by: Konrad Rzeszutek Wilk Reviewed-by: David Vrabel Acked-by: Ian Campbell --- diff --git a/drivers/xen/pci.c b/drivers/xen/pci.c index 188825122aae..dd9c249ea311 100644 --- a/drivers/xen/pci.c +++ b/drivers/xen/pci.c @@ -26,7 +26,9 @@ #include #include #include "../pci/pci.h" +#ifdef CONFIG_PCI_MMCONFIG #include +#endif static bool __read_mostly pci_seg_supported = true;