rt2x00: Fix build errors due to modularized rfkill or leds and built-in rt2x00.
authorGertjan van Wingerde <gwingerde@kpnplanet.nl>
Sun, 28 Sep 2008 13:11:38 +0000 (15:11 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 30 Sep 2008 18:07:25 +0000 (14:07 -0400)
commit4c99f3e4cfc3190e01c55e72d15a837d9dc41426
treeb681c5cd021c50fb5387bf38263a4601bf15b06c
parent55ad175fb65a4a3a7e4d1aa13c460de281b4e8ac
rt2x00: Fix build errors due to modularized rfkill or leds and built-in rt2x00.

Fix by disabling rt2x00 rfkill support when rt2x00 is built-in and rfkill has been modularized, and
a similar scheme for the relationship between leds_class and rt2x00..
Also, give a warning to the end-user when rfkill-/leds-support is disabled this way, so that the
end-user has at least some clues on what is going on.

Proper fixing required some general updates of the Kconfig-structure for the rt2x00 driver, whereby
internal configuration symbols had to be moved to after the user-visible configuration symbols.

Signed-off-by: Gertjan van Wingerde <gwingerde@kpnplanet.nl>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/Kconfig