]> git.baikalelectronics.ru Git - kernel.git/commit
wimax: fix kconfig interactions with rfkill and input layers
authorInaky Perez-Gonzalez <inaky@linux.intel.com>
Thu, 8 Jan 2009 19:07:36 +0000 (11:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Jan 2009 19:07:36 +0000 (11:07 -0800)
commit76883b16ba5611a0f9fa895f3ecbc7898f37162a
treef6ac9e2aab523d9fdf2918691209db0c7dcad589
parent8e9b4bd205ebcd6b77cf6be9a7681eee5238136c
wimax: fix kconfig interactions with rfkill and input layers

WiMAX can work without RFKILL, but it was missing a check to make sure
RFKILL is not being made a module with wimax compiled into the
kernel. This caused failed builds in s390, where CONFIG_INPUT is
always off.

When RFKILL is enabled, the code uses the input layer to report
hardware switch changes; thus, if RFKILL is enabled, INPUT has to be
too. It also needs to display some message when INPUT is disabled that
explains why WiMAX is not selectable.

(issues found by Randy Dunlap in the linux-next tree).

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/wimax/Kconfig