mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-08 20:35:07 +00:00
Make use of MODULE_IMPORT_NS conditional
Commit 8954f2b8d8
added an unconditional:
MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
For compatibility with old kernel versions, guard this declaration
with #ifdef MODULE_IMPORT_NS.
This specific symbol namespace is also Android-specific, so the
declaration should also be conditional on building for Android, but
there doesn't seem to be a single preprocessor symbol that indicates
that.
Signed-off-by: Ben Hutchings <ben.hutchings@mind.be>
This commit is contained in:
parent
4a983e47da
commit
8b485b79be
@ -1640,7 +1640,9 @@ static void __exit rtw_drv_halt(void)
|
||||
rtw_mstat_dump(RTW_DBGDUMP);
|
||||
}
|
||||
|
||||
#ifdef MODULE_IMPORT_NS
|
||||
MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
|
||||
#endif
|
||||
|
||||
module_init(rtw_drv_entry);
|
||||
module_exit(rtw_drv_halt);
|
||||
|
Loading…
Reference in New Issue
Block a user