From: Inaky Perez-Gonzalez Date: Thu, 8 Jan 2009 19:08:01 +0000 (-0800) Subject: wimax: testing for rfkill support should also test for CONFIG_RFKILL_MODULE X-Git-Tag: v2.6.29-rc1~45^2~6 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a2e9da4b09c99857080afd2e8143f70bc03ebe9b;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: David S. Miller --- diff --git a/net/wimax/op-rfkill.c b/net/wimax/op-rfkill.c index 8745bac173f..2b75aee0421 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) /**