git: 1a2b55732ff2 - main - lindebugfs,rtw88,rtw89: correct module dependencies

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Sun, 25 Sep 2022 21:43:32 UTC
The branch main has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=1a2b55732ff27fba2533724a72a39d33516c9417

commit 1a2b55732ff27fba2533724a72a39d33516c9417
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2022-09-25 21:36:10 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2022-09-25 21:41:22 +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.
    
    MFC after:              3 days
    X-MFC-with-after:       f697b9432d9c7aa4c5ab5f5445ef5dc1bd40ce00
---
 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