summaryrefslogtreecommitdiff
path: root/drivers/virtio/Makefile
diff options
context:
space:
mode:
authorDavid Stevens <stevensd@chromium.org>2020-08-19 12:10:11 +0900
committerGerd Hoffmann <kraxel@redhat.com>2020-08-19 06:43:28 +0200
commit9fe2f897499f129f9f0ef4c51a11512dcf2ab7d0 (patch)
tree12584408f4c899aa6eccef2369b69797b10947ca /drivers/virtio/Makefile
parenta25b6b273f7039da72e41f78dc6e9d64b4592e68 (diff)
virtio: fix build for configs without dma-bufs
Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: David Stevens <stevensd@chromium.org> Link: http://patchwork.freedesktop.org/patch/msgid/20200819031011.310180-1-stevensd@chromium.org Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'drivers/virtio/Makefile')
-rw-r--r--drivers/virtio/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/virtio/Makefile b/drivers/virtio/Makefile
index 49da768ee7fd..591e6f72aa54 100644
--- a/drivers/virtio/Makefile
+++ b/drivers/virtio/Makefile
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
-obj-$(CONFIG_VIRTIO) += virtio.o virtio_ring.o virtio_dma_buf.o
+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_modern.o virtio_pci_common.o
@@ -8,3 +8,4 @@ obj-$(CONFIG_VIRTIO_BALLOON) += virtio_balloon.o
obj-$(CONFIG_VIRTIO_INPUT) += virtio_input.o
obj-$(CONFIG_VIRTIO_VDPA) += virtio_vdpa.o
obj-$(CONFIG_VIRTIO_MEM) += virtio_mem.o
+obj-$(CONFIG_VIRTIO_DMA_SHARED_BUFFER) += virtio_dma_buf.o