Skip to contentSkip to conversation

ath10k: ATH10K_DEBUGFS depends on DEBUG_FS

PATCH Applied Matteo Croce 2 participants 2 messages Sep 4, 2014 – Sep 10, 2014 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath10k: ATH10K_DEBUGFS depends on DEBUG_FS

ATH10K_DEBUGFS must depend on DEBUG_FS, otherwise ath10k will generate an invalid pointer on module load

---
 drivers/net/wireless/ath/ath10k/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath10k/Kconfig +1 -1
index 1053bb5..72acb82 100644
@@ -24,7 +24,7 @@ config ATH10K_DEBUG
 
 config ATH10K_DEBUGFS
 	bool "Atheros ath10k debugfs support"
-	depends on ATH10K
+	depends on ATH10K && DEBUG_FS
 	select RELAY
 	---help---
 	  Enabled debugfs support
Signature · 1 line
2.1.0
Applied
#1 lore raw
Quoted 4 lines · Matteo Croce

ATH10K_DEBUGFS must depend on DEBUG_FS, otherwise ath10k will generate an invalid pointer on module load

Thanks, applied.

Signature · 1 line
Kalle Valo