wireless patches: fix build for kernel 6.13

This commit is contained in:
amazingfate 2024-12-24 11:53:00 +08:00 committed by Jianfeng Liu
parent 122a21b9a8
commit f403e61fc3
5 changed files with 5 additions and 5 deletions

View File

@ -15,7 +15,7 @@ index d6d326aef..aa1f0499d 100644
#endif #endif
#endif /* DBG_MEMORY_LEAK */ #endif /* DBG_MEMORY_LEAK */
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) && LINUX_VERSION_CODE < KERNEL_VERSION(6, 13, 0))
+MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver); +MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
+#endif +#endif

View File

@ -15,7 +15,7 @@ index 04000c768..d7005b9dc 100644
#endif #endif
#endif /* DBG_MEMORY_LEAK */ #endif /* DBG_MEMORY_LEAK */
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) && LINUX_VERSION_CODE < KERNEL_VERSION(6, 13, 0))
+MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver); +MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
+#endif +#endif

View File

@ -15,7 +15,7 @@ index e6954c36f..370788123 100644
#define RT_TAG '1178' #define RT_TAG '1178'
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) && LINUX_VERSION_CODE < KERNEL_VERSION(6, 13, 0))
+MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver); +MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
+#endif +#endif
+ +

View File

@ -15,7 +15,7 @@ index cb5ff6940..c7c84cca0 100644
#define RT_TAG '1178' #define RT_TAG '1178'
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) && LINUX_VERSION_CODE < KERNEL_VERSION(6, 13, 0))
+MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver); +MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
+#endif +#endif
+ +

View File

@ -15,7 +15,7 @@ index 883d4edd3..88476ec3d 100644
#endif #endif
#endif /* DBG_MEMORY_LEAK */ #endif /* DBG_MEMORY_LEAK */
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) && LINUX_VERSION_CODE < KERNEL_VERSION(6, 13, 0))
+MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver); +MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
+#endif +#endif