ath9k: separate debugfs support from CONFIG_ATH_DEBUG
authorFelix Fietkau <nbd@openwrt.org>
Mon, 23 Nov 2009 21:33:27 +0000 (22:33 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Nov 2009 20:05:04 +0000 (15:05 -0500)
commita830df0714117574fd0d5fe98477059b3e9fd5bf
treeb9e97c27d1b24dfed5f5267e1ee991e791e767a2
parentf911ab83a2c07118dc605d643545647cef6f2322
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>
drivers/net/wireless/ath/ath9k/Kconfig
drivers/net/wireless/ath/ath9k/Makefile
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/debug.c
drivers/net/wireless/ath/ath9k/debug.h