summaryrefslogtreecommitdiff
path: root/drivers/virtio/Kconfig
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/Kconfig
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/Kconfig')
-rw-r--r--drivers/virtio/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig
index 5c92e4a50882..e76e9b9ba93c 100644
--- a/drivers/virtio/Kconfig
+++ b/drivers/virtio/Kconfig
@@ -126,4 +126,11 @@ config VIRTIO_MMIO_CMDLINE_DEVICES
If unsure, say 'N'.
+config VIRTIO_DMA_SHARED_BUFFER
+ tristate
+ depends on DMA_SHARED_BUFFER
+ help
+ This option adds a flavor of dma buffers that are backed by
+ virtio resources.
+
endif # VIRTIO_MENU