gasket-driver/fix-for-backported-dma-buf-ns.patch

15 lines
362 B
Diff

diff --git a/src/gasket_page_table.c b/src/gasket_page_table.c
index c9067cb..0e768e0 100644
--- a/src/gasket_page_table.c
+++ b/src/gasket_page_table.c
@@ -53,9 +53,7 @@
#include <linux/version.h>
#include <linux/vmalloc.h>
-#if __has_include(<linux/dma-buf.h>)
MODULE_IMPORT_NS(DMA_BUF);
-#endif
#include "gasket_constants.h"
#include "gasket_core.h"