From: Sujith Manoharan Date: Thu, 24 Oct 2013 06:34:39 +0000 (+0530) Subject: ath9k: Fix TX99 config option usage X-Git-Tag: v3.14-rc1~94^2~601^2^2~107 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef6b19e40f525777a0052956bf7d9a1985f74993;p=pandora-kernel.git ath9k: Fix TX99 config option usage Use CONFIG_ATH9K_TX99 to properly enclose the tx99 code and make sure that it is not compiled as part of the driver when it is not selected. Move the tx99 code to a new file tx99.c and also add ATH9K_DEBUGFS as a dependency in Kconfig. This reduces the module size on platforms like OpenWrt where ATH9K_DEBUGFS is selected, but TX99 might be disabled. Cc: Luis R. Rodriguez Signed-off-by: Sujith Manoharan Signed-off-by: John W. Linville --- Reading git-diff-tree failed