[PATCHv3 wireless-next] wifi: ath9k: add OF dependency to AHB

Rosen Penev posted 1 patch 2 months ago
drivers/net/wireless/ath/ath9k/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCHv3 wireless-next] wifi: ath9k: add OF dependency to AHB
Posted by Rosen Penev 2 months ago
The conversion to OF missed adding a Kconfig dependency.

Fixes: 2fa490c0d759 ("wifi: ath9k: ahb: replace id_table with of")
Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
 v2: Resend to satisfy bot as the commit is now present
 v3: Add 2 characters to commit id
 drivers/net/wireless/ath/ath9k/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath9k/Kconfig b/drivers/net/wireless/ath/ath9k/Kconfig
index 0c47be06c153..47d570a5ca6a 100644
--- a/drivers/net/wireless/ath/ath9k/Kconfig
+++ b/drivers/net/wireless/ath/ath9k/Kconfig
@@ -47,7 +47,7 @@ config ATH9K_PCI
 
 config ATH9K_AHB
 	bool "Atheros ath9k AHB bus support"
-	depends on ATH9K
+	depends on ATH9K && OF
 	default n
 	help
 	  This option enables the AHB bus support in ath9k.
-- 
2.50.1
Re: [PATCHv3 wireless-next] wifi: ath9k: add OF dependency to AHB
Posted by Toke Høiland-Jørgensen 1 month, 3 weeks ago
Rosen Penev <rosenp@gmail.com> writes:

> The conversion to OF missed adding a Kconfig dependency.
>
> Fixes: 2fa490c0d759 ("wifi: ath9k: ahb: replace id_table with of")
> Signed-off-by: Rosen Penev <rosenp@gmail.com>

Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>