[PATCH 1/2] misc Kconfig: always ask for misc devices

Sascha Hauer s.hauer at pengutronix.de
Wed Jan 29 04:29:59 EST 2014


The "Misc devices" menu does not enable anything by itself, so make it a
regular menu rather than a menuconfig.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 drivers/misc/Kconfig | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 606490b..e59c4f1 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -2,17 +2,11 @@
 # Misc strange devices
 #
 
-menuconfig MISC_DEVICES
-	bool "Misc devices"
-	help
-	  Add support for misc strange devices
-
-if MISC_DEVICES
+menu "Misc devices"
 
 config JTAG
 	tristate "JTAG Bitbang driver"
 	depends on GENERIC_GPIO
 	help
 	  Controls JTAG chains connected to I/O pins
-
-endif # MISC_DEVICES
+endmenu
-- 
1.8.5.3




More information about the barebox mailing list