aboutsummaryrefslogtreecommitdiffstats
path: root/net/wimax/op-rfkill.c
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky@linux.intel.com>2009-01-08 14:08:01 -0500
committerDavid S. Miller <davem@davemloft.net>2009-01-08 14:08:01 -0500
commita2e9da4b09c99857080afd2e8143f70bc03ebe9b (patch)
treeade1399ed3785a16330d67d97a214bcad6fe4bf3 /net/wimax/op-rfkill.c
parent71f78afd67ca51d3656ba45aea293d6e2a27c8bc (diff)
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 @@
71#define D_SUBMODULE op_rfkill 71#define D_SUBMODULE op_rfkill
72#include "debug-levels.h" 72#include "debug-levels.h"
73 73
74#ifdef CONFIG_RFKILL 74#if defined(CONFIG_RFKILL) || defined(CONFIG_RFKILL_MODULE)
75 75
76 76
77/** 77/**