[module] fix compile on 5.16

The `DMA_BUF` namespace was introduced in:
https://github.com/torvalds/linux/commit/16b0314aa746be6c84c0bc6eca9dde0dce2e99df
This commit is contained in:
arcnmx authored and Geoffrey McRae committed 2022-01-14 12:14:21 +11:00
1 parent 3d0a8f6987
commit a9b5302a51
1 file changed
+3
+3
View File
@@ -571,3 +571,6 @@ MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Geoffrey McRae <geoff@hostfission.com>");
MODULE_AUTHOR("Guanzhong Chen <quantum2048@gmail.com>");
MODULE_VERSION("0.0.7");
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,16,0)
MODULE_IMPORT_NS(DMA_BUF);
#endif