]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
xen-platform: Fix compile errors if CONFIG_PCI is not enabled.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 12 Jan 2011 17:58:06 +0000 (12:58 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 12 Jan 2011 17:58:17 +0000 (12:58 -0500)
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 <konrad.wilk@oracle.com>
drivers/xen/Kconfig

index 6e6180ccd72609b349b972cb45cbbee67a148e1f..6f52b31898038ae6b7b8da12767e2d1b6bfb4b18 100644 (file)
@@ -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