ath9k: separate debugfs support from CONFIG_ATH_DEBUG
In my setups, ath9k's debugfs files are most of the time much more useful than the messages generated by enabling CONFIG_ATH_DEBUG along with the right debug flags. Since CONFIG_ATH_DEBUG comes with a noticeable overhead on embedded systems, this patch makes it possible to use the debugfs files without that option. Signed-off-by:Felix Fietkau <nbd@openwrt.org> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
Showing
- drivers/net/wireless/ath/ath9k/Kconfig 4 additions, 9 deletionsdrivers/net/wireless/ath/ath9k/Kconfig
- drivers/net/wireless/ath/ath9k/Makefile 1 addition, 1 deletiondrivers/net/wireless/ath/ath9k/Makefile
- drivers/net/wireless/ath/ath9k/ath9k.h 1 addition, 1 deletiondrivers/net/wireless/ath/ath9k/ath9k.h
- drivers/net/wireless/ath/ath9k/debug.c 6 additions, 0 deletionsdrivers/net/wireless/ath/ath9k/debug.c
- drivers/net/wireless/ath/ath9k/debug.h 3 additions, 3 deletionsdrivers/net/wireless/ath/ath9k/debug.h
Loading
Please register or sign in to comment