mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-28 00:07:19 +00:00
[module] fix compile on 5.16
The `DMA_BUF` namespace was introduced in:
16b0314aa7
This commit is contained in:
parent
3d0a8f6987
commit
a9b5302a51
@ -571,3 +571,6 @@ MODULE_LICENSE("GPL v2");
|
|||||||
MODULE_AUTHOR("Geoffrey McRae <geoff@hostfission.com>");
|
MODULE_AUTHOR("Geoffrey McRae <geoff@hostfission.com>");
|
||||||
MODULE_AUTHOR("Guanzhong Chen <quantum2048@gmail.com>");
|
MODULE_AUTHOR("Guanzhong Chen <quantum2048@gmail.com>");
|
||||||
MODULE_VERSION("0.0.7");
|
MODULE_VERSION("0.0.7");
|
||||||
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,16,0)
|
||||||
|
MODULE_IMPORT_NS(DMA_BUF);
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user