summaryrefslogtreecommitdiffstats
path: root/drivers/virtio/virtio_dma_buf.c
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/virtio_dma_buf.c
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/virtio_dma_buf.c')
-rw-r--r--drivers/virtio/virtio_dma_buf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/virtio/virtio_dma_buf.c b/drivers/virtio/virtio_dma_buf.c
index 45d6e8647dcf..5127a2f0c986 100644
--- a/drivers/virtio/virtio_dma_buf.c
+++ b/drivers/virtio/virtio_dma_buf.c
@@ -5,6 +5,7 @@
* Copyright (C) 2020 Google, Inc.
*/
+#include <linux/module.h>
#include <linux/virtio_dma_buf.h>
/**
@@ -83,3 +84,5 @@ int virtio_dma_buf_get_uuid(struct dma_buf *dma_buf,
return ops->get_uuid(dma_buf, uuid);
}
EXPORT_SYMBOL(virtio_dma_buf_get_uuid);
+
+MODULE_LICENSE("GPL");