From: Konrad Rzeszutek Wilk Date: Wed, 12 Jan 2011 17:58:06 +0000 (-0500) Subject: xen-platform: Fix compile errors if CONFIG_PCI is not enabled. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e528db5b392ab2a624258a667fed0e65af6e411b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git xen-platform: Fix compile errors if CONFIG_PCI is not enabled. drivers/xen/platform-pci.c:127: error: implicit declaration of function 'pci_request_region' drivers/xen/platform-pci.c:165: error: implicit declaration of function 'pci_release_region' Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig index 6e6180ccd726..6f52b3189803 100644 --- a/drivers/xen/Kconfig +++ b/drivers/xen/Kconfig @@ -64,7 +64,7 @@ config XEN_SYS_HYPERVISOR config XEN_PLATFORM_PCI tristate "xen platform pci device driver" - depends on XEN_PVHVM + depends on XEN_PVHVM && PCI default m help Driver for the Xen PCI Platform device: it is responsible for