]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
ath10k: ATH10K_DEBUGFS depends on DEBUG_FS
authorMatteo Croce <matteo@openwrt.org>
Thu, 4 Sep 2014 12:51:09 +0000 (14:51 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 10 Sep 2014 11:17:45 +0000 (14:17 +0300)
ATH10K_DEBUGFS must depend on DEBUG_FS, otherwise
ath10k will generate an invalid pointer on module load.

Signed-off-by: Matteo Croce <matteo@openwrt.org>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/Kconfig

index 1053bb5f2cdcb33dbc4381dfb3ac3f00dbb3a91c..72acb822bb11440989364c6407e5a7579e4efb24 100644 (file)
@@ -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