From 9fe2f897499f129f9f0ef4c51a11512dcf2ab7d0 Mon Sep 17 00:00:00 2001 From: David Stevens Date: Wed, 19 Aug 2020 12:10:11 +0900 Subject: virtio: fix build for configs without dma-bufs Reported-by: kernel test robot Signed-off-by: David Stevens Link: http://patchwork.freedesktop.org/patch/msgid/20200819031011.310180-1-stevensd@chromium.org Signed-off-by: Gerd Hoffmann --- drivers/virtio/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'drivers/virtio/Kconfig') 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 -- cgit v1.2.3