summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Llamas <cmllamas@google.com>2022-01-21 16:55:37 -0800
committerWill McVicker <willmcvicker@google.com>2022-02-01 22:08:00 -0800
commit371f6aa20fe3535c26c067031bc5a4d04f4d6255 (patch)
treee08335ffb8c963b279956bc3a4c232aa2ff5f7d6
parentd4ed7439584ac6b6c69ebaa02af865e12172168d (diff)
downloadtrusty-371f6aa20fe3535c26c067031bc5a4d04f4d6255.tar.gz
GKI: fix import of DMA_BUF module namespace
This patch fixes multiple build issues similar to this: ERROR: modpost: module samsung_dma_heap uses symbol dma_buf_export from namespace DMA_BUF, but does not import it. Bug: 215712060 Signed-off-by: Carlos Llamas <cmllamas@google.com> Change-Id: If77d4ebb2a82cd208813236d03229946c122b0d2
-rw-r--r--drivers/trusty/trusty-ipc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/trusty/trusty-ipc.c b/drivers/trusty/trusty-ipc.c
index 7ac586e..65b9a21 100644
--- a/drivers/trusty/trusty-ipc.c
+++ b/drivers/trusty/trusty-ipc.c
@@ -2186,4 +2186,5 @@ module_exit(tipc_exit);
MODULE_DEVICE_TABLE(tipc, tipc_virtio_id_table);
MODULE_DESCRIPTION("Trusty IPC driver");
+MODULE_IMPORT_NS(DMA_BUF);
MODULE_LICENSE("GPL v2");