[module] fix compile on 5.16

The `DMA_BUF` namespace was introduced in:
16b0314aa7
This commit is contained in:
arcnmx 2022-01-13 08:57:46 -08:00 committed by Geoffrey McRae
parent 3d0a8f6987
commit a9b5302a51

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