提交 e528db5b 编写于 作者: K Konrad Rzeszutek Wilk

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: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
上级 7c8c06c5
...@@ -64,7 +64,7 @@ config XEN_SYS_HYPERVISOR ...@@ -64,7 +64,7 @@ config XEN_SYS_HYPERVISOR
config XEN_PLATFORM_PCI config XEN_PLATFORM_PCI
tristate "xen platform pci device driver" tristate "xen platform pci device driver"
depends on XEN_PVHVM depends on XEN_PVHVM && PCI
default m default m
help help
Driver for the Xen PCI Platform device: it is responsible for Driver for the Xen PCI Platform device: it is responsible for
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册