[PATCH 31/36] Use menuconfig objects II - UIO

[PATCH 31/36] Use menuconfig objects II - UIO

Post by Jan Engelh » Tue, 01 May 2007 21:00:12

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 < XXXX@XXXXX.COM >

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
@@ -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
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
Driver for Hilscher CIF cards.

+endif # UIO
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to XXXX@XXXXX.COM
More majordomo info at http://www.yqcomputer.com/
Please read the FAQ at http://www.yqcomputer.com/