git: 81ff67ffbec0 - main - iwlwifi: also depend on linuxkpi_wlan

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Mon, 27 Dec 2021 19:11:47 UTC
The branch main has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=81ff67ffbec066bc5014a64e67de0219d943156a

commit 81ff67ffbec066bc5014a64e67de0219d943156a
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2021-12-27 17:36:04 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2021-12-27 18:47:25 +0000

    iwlwifi: also depend on linuxkpi_wlan
    
    The 802.11 compat code is split off linuxkpi.ko into linuxkpi_wlan.ko
    in case it is built as a module.  Depend on that.
    While here adjust our module to a longer version to avoid conflicts.
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      3 days
---
 sys/contrib/dev/iwlwifi/iwl-drv.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sys/contrib/dev/iwlwifi/iwl-drv.c b/sys/contrib/dev/iwlwifi/iwl-drv.c
index 4486920f59e1..0725e755f4a3 100644
--- a/sys/contrib/dev/iwlwifi/iwl-drv.c
+++ b/sys/contrib/dev/iwlwifi/iwl-drv.c
@@ -38,8 +38,9 @@ MODULE_LICENSE("GPL");
 #elif defined(__FreeBSD__)
 #define DRV_DESCRIPTION	"Intel(R) Wireless WiFi based driver for FreeBSD"
 MODULE_LICENSE("BSD");
-MODULE_VERSION(iwl, 1);
-MODULE_DEPEND(iwl, linuxkpi, 1, 1, 1);
+MODULE_VERSION(if_iwlwifi, 1);
+MODULE_DEPEND(if_iwlwifi, linuxkpi, 1, 1, 1);
+MODULE_DEPEND(if_iwlwifi, linuxkpi_wlan, 1, 1, 1);
 #endif
 MODULE_DESCRIPTION(DRV_DESCRIPTION);