git: 2cf1918dfce3 - stable/13 - lindebugfs,rtw88,rtw89: correct module dependencies

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Wed, 18 Jan 2023 16:24:40 UTC
The branch stable/13 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=2cf1918dfce36f3db1fb263ca6e247a8c259ac28

commit 2cf1918dfce36f3db1fb263ca6e247a8c259ac28
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2022-09-25 21:36:10 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2023-01-18 13:22:52 +0000

    lindebugfs,rtw88,rtw89: correct module dependencies
    
    In f697b9432d9c7aa4c5ab5f5445ef5dc1bd40ce00 the name of the PSEUDOFS
    was changed from debugsfs to lindebugfs but the in-tree consumers
    were not updated now leaving the drivers not loading if compiled
    with debugfs support due to missing dependencies.
    
    (cherry picked from commit 1a2b55732ff27fba2533724a72a39d33516c9417)
---
 sys/contrib/dev/rtw88/pci.c | 2 +-
 sys/contrib/dev/rtw89/pci.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/contrib/dev/rtw88/pci.c b/sys/contrib/dev/rtw88/pci.c
index 6c836be771bc..bad6dd5b5b98 100644
--- a/sys/contrib/dev/rtw88/pci.c
+++ b/sys/contrib/dev/rtw88/pci.c
@@ -1955,6 +1955,6 @@ 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, debugfs, 1, 1, 1);
+MODULE_DEPEND(rtw_pci, lindebugfs, 1, 1, 1);
 #endif
 #endif
diff --git a/sys/contrib/dev/rtw89/pci.c b/sys/contrib/dev/rtw89/pci.c
index 046bcdf4dbc9..078d6f0e5866 100644
--- a/sys/contrib/dev/rtw89/pci.c
+++ b/sys/contrib/dev/rtw89/pci.c
@@ -3937,6 +3937,6 @@ MODULE_VERSION(rtw89_pci, 1);
 MODULE_DEPEND(rtw89_pci, linuxkpi, 1, 1, 1);
 MODULE_DEPEND(rtw89_pci, linuxkpi_wlan, 1, 1, 1);
 #ifdef CONFIG_RTW89_DEBUGFS
-MODULE_DEPEND(rtw89_pci, debugfs, 1, 1, 1);
+MODULE_DEPEND(rtw89_pci, lindebugfs, 1, 1, 1);
 #endif
 #endif