Skip to content

Commit

Permalink
xen-platform: Fix compile errors if CONFIG_PCI is not enabled.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Konrad Rzeszutek Wilk committed Jan 12, 2011
1 parent 7c8c06c commit e528db5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/xen/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e528db5

Please sign in to comment.