wireless: fix warnings from QoS patch
[safe/jmp/linux-2.6] / drivers / net / wireless / rt2x00 / Kconfig
index 0ace761..d485a86 100644 (file)
@@ -37,11 +37,10 @@ config RT2X00_LIB_RFKILL
        boolean
        depends on RT2X00_LIB
        select RFKILL
-       select INPUT_POLLDEV
 
 config RT2X00_LIB_LEDS
        boolean
-       depends on RT2X00_LIB
+       depends on RT2X00_LIB && NEW_LEDS
 
 config RT2400PCI
        tristate "Ralink rt2400 (PCI/PCMCIA) support"
@@ -65,7 +64,7 @@ config RT2400PCI_RFKILL
 
 config RT2400PCI_LEDS
        bool "Ralink rt2400 leds support"
-       depends on RT2400PCI
+       depends on RT2400PCI && NEW_LEDS
        select LEDS_CLASS
        select RT2X00_LIB_LEDS
        ---help---
@@ -93,7 +92,7 @@ config RT2500PCI_RFKILL
 
 config RT2500PCI_LEDS
        bool "Ralink rt2500 leds support"
-       depends on RT2500PCI
+       depends on RT2500PCI && NEW_LEDS
        select LEDS_CLASS
        select RT2X00_LIB_LEDS
        ---help---
@@ -123,7 +122,7 @@ config RT61PCI_RFKILL
 
 config RT61PCI_LEDS
        bool "Ralink rt2501/rt61 leds support"
-       depends on RT61PCI
+       depends on RT61PCI && NEW_LEDS
        select LEDS_CLASS
        select RT2X00_LIB_LEDS
        ---help---
@@ -141,7 +140,7 @@ config RT2500USB
 
 config RT2500USB_LEDS
        bool "Ralink rt2500 leds support"
-       depends on RT2500USB
+       depends on RT2500USB && NEW_LEDS
        select LEDS_CLASS
        select RT2X00_LIB_LEDS
        ---help---
@@ -161,7 +160,7 @@ config RT73USB
 
 config RT73USB_LEDS
        bool "Ralink rt2501/rt73 leds support"
-       depends on RT73USB
+       depends on RT73USB && NEW_LEDS
        select LEDS_CLASS
        select RT2X00_LIB_LEDS
        ---help---