diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-01-12 12:58:06 -0500 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-01-12 12:58:17 -0500 |
commit | e528db5b392ab2a624258a667fed0e65af6e411b (patch) | |
tree | 388beafc4a28bafc182d3e91edac12263b8b33e4 /drivers/xen | |
parent | 7c8c06c5bb2dcc9fd0d2eeac4e9c10bf77ffed1a (diff) |
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 <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen')
-rw-r--r-- | drivers/xen/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
64 | 64 | ||
65 | config XEN_PLATFORM_PCI | 65 | config XEN_PLATFORM_PCI |
66 | tristate "xen platform pci device driver" | 66 | tristate "xen platform pci device driver" |
67 | depends on XEN_PVHVM | 67 | depends on XEN_PVHVM && PCI |
68 | default m | 68 | default m |
69 | help | 69 | help |
70 | Driver for the Xen PCI Platform device: it is responsible for | 70 | Driver for the Xen PCI Platform device: it is responsible for |