summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/Makefile
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2013-10-28 10:52:04 +0400
committerJohn W. Linville <linville@tuxdriver.com>2013-12-02 23:24:54 +0400
commite60001e7167536d99bb2026367751704c623f9f8 (patch)
tree1f8baa634abac0bae7819856e0599880a68e963b /drivers/net/wireless/ath/ath9k/Makefile
parentbb00b1f786efc4c38d8e1e3e0e1996a59277a90e (diff)
downloadlinux-e60001e7167536d99bb2026367751704c623f9f8.tar.xz
ath9k: Use CONFIG_ATH9K_WOW
Move the WoW code to wow.c and compile it conditionally based on CONFIG_ATH9K_WOW. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/Makefile')
-rw-r--r--drivers/net/wireless/ath/ath9k/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/Makefile b/drivers/net/wireless/ath/ath9k/Makefile
index 796686a65b4c..337c459eda28 100644
--- a/drivers/net/wireless/ath/ath9k/Makefile
+++ b/drivers/net/wireless/ath/ath9k/Makefile
@@ -15,6 +15,7 @@ ath9k-$(CONFIG_ATH9K_DEBUGFS) += debug.o
ath9k-$(CONFIG_ATH9K_DFS_DEBUGFS) += dfs_debug.o
ath9k-$(CONFIG_ATH9K_DFS_CERTIFIED) += dfs.o
ath9k-$(CONFIG_ATH9K_TX99) += tx99.o
+ath9k-$(CONFIG_ATH9K_WOW) += wow.o
obj-$(CONFIG_ATH9K) += ath9k.o
@@ -40,7 +41,7 @@ ath9k_hw-y:= \
ar9003_eeprom.o \
ar9003_paprd.o
-ath9k_hw-$(CONFIG_PM_SLEEP) += ar9003_wow.o
+ath9k_hw-$(CONFIG_ATH9K_WOW) += ar9003_wow.o
ath9k_hw-$(CONFIG_ATH9K_BTCOEX_SUPPORT) += btcoex.o \
ar9003_mci.o