Change Kconfig objects from "menu, config" into "menuconfig" so
that the user can disable the whole feature without having to
enter the menu first.

Signed-off-by: Jan Engelhardt <[EMAIL PROTECTED]>

---
 drivers/uio/Kconfig |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

--- linux-2.6.21-mm_20070428.orig/drivers/uio/Kconfig
+++ linux-2.6.21-mm_20070428/drivers/uio/Kconfig
@@ -1,5 +1,4 @@
-menu "Userspace I/O"
-config UIO
+menuconfig UIO
        tristate "Userspace I/O drivers"
        default n
        help
@@ -11,9 +10,10 @@ config UIO
 
          If you don't know what to do here, say N.
 
+if UIO
+
 config UIO_DUMMY
        tristate "Userspace I/O dummy driver"
-       depends on UIO
        default n
        help
          This is an example dummy driver for the Userspace I/O
@@ -25,9 +25,9 @@ config UIO_DUMMY
 
 config UIO_CIF
        tristate "generic Hilscher CIF Card driver"
-       depends on UIO && PCI
+       depends on PCI
        default n
        help
          Driver for Hilscher CIF cards.
 
-endmenu
+endif # UIO
-
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