Skip to content

Commit

Permalink
kernel: Fix MODULE_IMPORT_NS
Browse files Browse the repository at this point in the history
  • Loading branch information
rsuntk committed Sep 29, 2024
1 parent 6ab3355 commit 1df51bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kernel/ksu.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ MODULE_LICENSE("GPL");
MODULE_AUTHOR("weishu");
MODULE_DESCRIPTION("Android KernelSU");

// Fix MODULE_IMPORT_NS error
#include <linux/version.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 0, 0)
MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
#endif
#endif

0 comments on commit 1df51bb

Please sign in to comment.