forked from MIrrors/gasket-driver
Import DMA_BUF symbol namespace for kernels >= 5.16
Needed since 16b0314aa746 upstream. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
committed by
Michael Brooks
parent
f047773516
commit
5993718586
@@ -53,6 +53,10 @@
|
||||
#include <linux/version.h>
|
||||
#include <linux/vmalloc.h>
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,16,0)
|
||||
MODULE_IMPORT_NS(DMA_BUF);
|
||||
#endif
|
||||
|
||||
#include "gasket_constants.h"
|
||||
#include "gasket_core.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user