aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/cw1200/Makefile
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2013-05-29 22:22:05 -0400
committerJohn W. Linville <linville@tuxdriver.com>2013-05-30 14:42:47 -0400
commit4e17b87e792ed19e75a96eea618b90510265120c (patch)
tree4fffe1993ffd22606b5739a466ec8b4692510a01 /drivers/net/wireless/cw1200/Makefile
parentb0a1ae976d6cd40ff90ba87883e17eb2610dae3d (diff)
cw1200: Fix compile with CONFIG_PM=n
Intel's 0-day kernel build tester caught this build failure. This patch properly wraps everything that depends on CONFIG_PM. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/cw1200/Makefile')
-rw-r--r--drivers/net/wireless/cw1200/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/cw1200/Makefile b/drivers/net/wireless/cw1200/Makefile
index c19737276be2..1aa3682066e0 100644
--- a/drivers/net/wireless/cw1200/Makefile
+++ b/drivers/net/wireless/cw1200/Makefile
@@ -8,9 +8,9 @@ cw1200_core-y := \
wsm.o \
sta.o \
scan.o \
- pm.o \
debug.o
cw1200_core-$(CONFIG_CW1200_ITP) += itp.o
+cw1200_core-$(CONFIG_PM) += pm.o
# CFLAGS_sta.o += -DDEBUG