27 lines
856 B
Diff
27 lines
856 B
Diff
|
From 627464d5dc4ff6cc3e07d8f2acea8bd33cd9b30f Mon Sep 17 00:00:00 2001
|
||
|
From: Muhammed Efe Cetin <efectn@protonmail.com>
|
||
|
Date: Wed, 1 Feb 2023 00:18:01 +0300
|
||
|
Subject: [PATCH 10/10] Fix VFS import
|
||
|
|
||
|
---
|
||
|
drivers/net/wireless/rtl88x2cs/os_dep/osdep_service.c | 3 +++
|
||
|
1 file changed, 3 insertions(+)
|
||
|
|
||
|
diff --git a/drivers/net/wireless/rtl88x2cs/os_dep/osdep_service.c b/drivers/net/wireless/rtl88x2cs/os_dep/osdep_service.c
|
||
|
index 883d4edd3..88476ec3d 100644
|
||
|
--- a/drivers/net/wireless/rtl88x2cs/os_dep/osdep_service.c
|
||
|
+++ b/drivers/net/wireless/rtl88x2cs/os_dep/osdep_service.c
|
||
|
@@ -27,6 +27,9 @@ atomic_t _malloc_size = ATOMIC_INIT(0);
|
||
|
#endif
|
||
|
#endif /* DBG_MEMORY_LEAK */
|
||
|
|
||
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)
|
||
|
+MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
|
||
|
+#endif
|
||
|
|
||
|
#if defined(PLATFORM_LINUX)
|
||
|
/*
|
||
|
--
|
||
|
2.39.1
|
||
|
|