summaryrefslogtreecommitdiffstats
path: root/net/wimax/op-rfkill.c
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky@linux.intel.com>2009-01-08 20:08:01 +0100
committerDavid S. Miller <davem@davemloft.net>2009-01-08 20:08:01 +0100
commita2e9da4b09c99857080afd2e8143f70bc03ebe9b (patch)
treeade1399ed3785a16330d67d97a214bcad6fe4bf3 /net/wimax/op-rfkill.c
parentwimax: fix kconfig interactions with rfkill and input layers (diff)
downloadlinux-a2e9da4b09c99857080afd2e8143f70bc03ebe9b.tar.xz
linux-a2e9da4b09c99857080afd2e8143f70bc03ebe9b.zip
wimax: testing for rfkill support should also test for CONFIG_RFKILL_MODULE
Current WiMAX rfkill code is missing the case where rfkill is compiled in as modules and works only when rfkill is compiled in. This is not correct. Fixed to test for CONFIG_RFKILL or CONFIG_RKILL_MODULE. Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wimax/op-rfkill.c')
-rw-r--r--net/wimax/op-rfkill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wimax/op-rfkill.c b/net/wimax/op-rfkill.c
index 8745bac173f1..2b75aee04217 100644
--- a/net/wimax/op-rfkill.c
+++ b/net/wimax/op-rfkill.c
@@ -71,7 +71,7 @@
#define D_SUBMODULE op_rfkill
#include "debug-levels.h"
-#ifdef CONFIG_RFKILL
+#if defined(CONFIG_RFKILL) || defined(CONFIG_RFKILL_MODULE)
/**