uio: Kconfig improvements
authorDenis Cheng <crquan@gmail.com>
Sat, 2 Feb 2008 09:51:35 +0000 (17:51 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 20 Apr 2008 02:10:17 +0000 (19:10 -0700)
Signed-off-by: Denis Cheng <crquan@gmail.com>
Signed-off-by: Hans J. Koch <hjk@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/uio/Kconfig

index b778ed7..d8ab7e6 100644 (file)
@@ -1,8 +1,6 @@
-menu "Userspace I/O"
-       depends on !S390
-
-config UIO
+menuconfig UIO
        tristate "Userspace I/O drivers"
+       depends on !S390
        default n
        help
          Enable this to allow the userspace driver core code to be
@@ -13,6 +11,8 @@ config UIO
 
          If you don't know what to do here, say N.
 
+if UIO
+
 config UIO_CIF
        tristate "generic Hilscher CIF Card driver"
        depends on UIO && PCI
@@ -26,4 +26,4 @@ config UIO_CIF
          To compile this driver as a module, choose M here: the module
          will be called uio_cif.
 
-endmenu
+endif