[PATCH] ath10k: ATH10K_DEBUGFS depends on DEBUG_FS

Matteo Croce matteo at openwrt.org
Thu Sep 4 01:50:39 PDT 2014


enable ath10k debugfs only when debugfs is enabled,
fixes an invalid pointer on module insert

--- a/drivers/net/wireless/ath/ath10k/Kconfig
+++ b/drivers/net/wireless/ath/ath10k/Kconfig
@@ -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



More information about the ath10k mailing list