From: Denis Cheng <crquan@gmail.com>
Date: Sat, 2 Feb 2008 09:51:35 +0000 (+0800)
Subject: uio: Kconfig improvements
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ae210f188614bb3d1ee3f19c64e28e3cdd44877c;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

uio: Kconfig improvements

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>
---

diff --git a/drivers/uio/Kconfig b/drivers/uio/Kconfig
index b778ed71f636..d8ab7e668bd2 100644
--- a/drivers/uio/Kconfig
+++ b/drivers/uio/Kconfig
@@ -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