summaryrefslogtreecommitdiff
path: root/drivers/virtio/Makefile
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-12-08 17:39:45 +0300
committerMichael S. Tsirkin <mst@redhat.com>2014-12-09 22:42:05 +0300
commit5f4c976089ca176c7780c0431308b4e71041702a (patch)
tree0678b2379b7a38c6ed9759b9280f04ddaf2a9a68 /drivers/virtio/Makefile
parenta90fdce9dcf3b65f998058bea612e0026c6deaf5 (diff)
downloadlinux-5f4c976089ca176c7780c0431308b4e71041702a.tar.xz
virtio_pci: rename virtio_pci -> virtio_pci_common
kbuild does not seem to like it when we name source files same as the module. Let's rename virtio_pci -> virtio_pci_common, and get rid of #include-ing c files. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/virtio/Makefile')
-rw-r--r--drivers/virtio/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/virtio/Makefile b/drivers/virtio/Makefile
index 9076635697bb..bf5104b56894 100644
--- a/drivers/virtio/Makefile
+++ b/drivers/virtio/Makefile
@@ -1,4 +1,5 @@
obj-$(CONFIG_VIRTIO) += virtio.o virtio_ring.o
obj-$(CONFIG_VIRTIO_MMIO) += virtio_mmio.o
obj-$(CONFIG_VIRTIO_PCI) += virtio_pci.o
+virtio_pci-y := virtio_pci_legacy.o virtio_pci_common.o
obj-$(CONFIG_VIRTIO_BALLOON) += virtio_balloon.o