Skip to contentSkip to conversation

only show the ATM drivers submenu if "ATM drivers" is selected

PATCH New Tomas Szepe 1 participant 1 message Jan 1, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 only show the ATM drivers submenu if "ATM drivers" is selected

Trivial: This is a follow-up to your "Gigabit Ethernet submenu" precedent.

Only show the ATM drivers submenu if the ATM drivers entry is selected.

Signature · 19 lines
Tomas Szepe <[email protected]>

diff -urN a/drivers/atm/Kconfig b/drivers/atm/Kconfig
--- a/drivers/atm/Kconfig	2002-10-31 02:33:41.000000000 +0100
+++ b/drivers/atm/Kconfig	2003-01-01 16:28:07.000000000 +0100
@@ -2,8 +2,12 @@
 # ATM device configuration
 #
 
-menu "ATM drivers"
+config ATM_DRIVERS
 	depends on NETDEVICES && ATM
+	bool "ATM drivers (depends on ATM=y)"
+
+menu "ATM drivers"
+	depends on ATM_DRIVERS
 
 config ATM_TCP
 	tristate "ATM over TCP"