Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143891772
D55021.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D55021.diff
View Options
diff --git a/sys/contrib/dev/rtw88/debug.c b/sys/contrib/dev/rtw88/debug.c
--- a/sys/contrib/dev/rtw88/debug.c
+++ b/sys/contrib/dev/rtw88/debug.c
@@ -1381,3 +1381,7 @@
EXPORT_SYMBOL(rtw_dbg);
#endif /* CONFIG_RTW88_DEBUG */
+
+#ifdef CONFIG_RTW88_DEBUGFS
+MODULE_DEPEND(rtw88_core, lindebugfs, 1, 1, 1);
+#endif
diff --git a/sys/contrib/dev/rtw88/main.c b/sys/contrib/dev/rtw88/main.c
--- a/sys/contrib/dev/rtw88/main.c
+++ b/sys/contrib/dev/rtw88/main.c
@@ -2591,3 +2591,8 @@
MODULE_AUTHOR("Realtek Corporation");
MODULE_DESCRIPTION("Realtek 802.11ac wireless core module");
MODULE_LICENSE("Dual BSD/GPL");
+#if defined(__FreeBSD__)
+MODULE_VERSION(rtw88_core, 1);
+MODULE_DEPEND(rtw88_core, linuxkpi, 1, 1, 1);
+MODULE_DEPEND(rtw88_core, linuxkpi_wlan, 1, 1, 1);
+#endif
diff --git a/sys/contrib/dev/rtw88/pci.c b/sys/contrib/dev/rtw88/pci.c
--- a/sys/contrib/dev/rtw88/pci.c
+++ b/sys/contrib/dev/rtw88/pci.c
@@ -1965,10 +1965,6 @@
MODULE_DESCRIPTION("Realtek PCI 802.11ac wireless driver");
MODULE_LICENSE("Dual BSD/GPL");
#if defined(__FreeBSD__)
-MODULE_VERSION(rtw_pci, 1);
-MODULE_DEPEND(rtw_pci, linuxkpi, 1, 1, 1);
-MODULE_DEPEND(rtw_pci, linuxkpi_wlan, 1, 1, 1);
-#ifdef CONFIG_RTW88_DEBUGFS
-MODULE_DEPEND(rtw_pci, lindebugfs, 1, 1, 1);
-#endif
+MODULE_VERSION(rtw88_pci, 1);
+MODULE_DEPEND(rtw88_pci, rtw88_core, 1, 1, 1);
#endif
diff --git a/sys/contrib/dev/rtw88/usb.c b/sys/contrib/dev/rtw88/usb.c
--- a/sys/contrib/dev/rtw88/usb.c
+++ b/sys/contrib/dev/rtw88/usb.c
@@ -1381,6 +1381,5 @@
#if defined(__FreeBSD__)
MODULE_VERSION(rtw88_usb, 1);
MODULE_DEPEND(rtw88_usb, rtw88_core, 1, 1, 1);
-MODULE_DEPEND(rtw88_usb, linuxkpi, 1, 1, 1);
-MODULE_DEPEND(rtw88_usb, linuxkpi_wlan, 1, 1, 1);
+MODULE_DEPEND(rtw88_usb, linuxkpi_usb, 1, 1, 1);
#endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 2, 2:41 PM (8 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28413104
Default Alt Text
D55021.diff (1 KB)
Attached To
Mode
D55021: rtw88: fix MODULE_DEPEND for usb
Attached
Detach File
Event Timeline
Log In to Comment