On Sat, 9 Feb 2008 16:23:06 +0100 Michael Büker wrote:

> 2) When selecting "Ralink driver support" (CONFIG_RT2X00), the accompanying 
> drivers (CONFIG_RT2400PCI, CONFIG_RT61PC, ...) appear unindented. They should 
> be indented by four spaces.

Yes, patch is below.

---
From: Randy Dunlap <[EMAIL PROTECTED]>

Michael Büker <[EMAIL PROTECTED]> reports that the RT2x00 drivers
are not indented as they should be, so use proper dependencies to make
them be indented as expected.

Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]>
---
 drivers/net/wireless/rt2x00/Kconfig |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

--- linux-2.6.24-git21.orig/drivers/net/wireless/rt2x00/Kconfig
+++ linux-2.6.24-git21/drivers/net/wireless/rt2x00/Kconfig
@@ -11,18 +11,17 @@ config RT2X00
          will also be created. That library (when the driver is built as
          a module) will be called "rt2x00lib.ko".
 
+if RT2X00
+
 config RT2X00_LIB
        tristate
-       depends on RT2X00
 
 config RT2X00_LIB_PCI
        tristate
-       depends on RT2X00
        select RT2X00_LIB
 
 config RT2X00_LIB_USB
        tristate
-       depends on RT2X00
        select RT2X00_LIB
 
 config RT2X00_LIB_FIRMWARE
@@ -39,7 +38,7 @@ config RT2X00_LIB_RFKILL
 
 config RT2400PCI
        tristate "Ralink rt2400 pci/pcmcia support"
-       depends on RT2X00 && PCI
+       depends on PCI
        select RT2X00_LIB_PCI
        select EEPROM_93CX6
        ---help---
@@ -58,7 +57,7 @@ config RT2400PCI_RFKILL
 
 config RT2500PCI
        tristate "Ralink rt2500 pci/pcmcia support"
-       depends on RT2X00 && PCI
+       depends on PCI
        select RT2X00_LIB_PCI
        select EEPROM_93CX6
        ---help---
@@ -77,7 +76,7 @@ config RT2500PCI_RFKILL
 
 config RT61PCI
        tristate "Ralink rt61 pci/pcmcia support"
-       depends on RT2X00 && PCI
+       depends on PCI
        select RT2X00_LIB_PCI
        select RT2X00_LIB_FIRMWARE
        select EEPROM_93CX6
@@ -97,7 +96,7 @@ config RT61PCI_RFKILL
 
 config RT2500USB
        tristate "Ralink rt2500 usb support"
-       depends on RT2X00 && USB
+       depends on USB
        select RT2X00_LIB_USB
        ---help---
          This is an experimental driver for the Ralink rt2500 wireless chip.
@@ -106,7 +105,7 @@ config RT2500USB
 
 config RT73USB
        tristate "Ralink rt73 usb support"
-       depends on RT2X00 && USB
+       depends on USB
        select RT2X00_LIB_USB
        select RT2X00_LIB_FIRMWARE
        ---help---
@@ -128,3 +127,4 @@ config RT2X00_DEBUG
        ---help---
          Enable debugging output for all rt2x00 modules
 
+endif
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to