[PATCH] only show the PCMCIA/CardBus submenu if "PCMCIA/CardBus support" is selected

Tomas Szepe (szepe@pinerecords.com)
Wed, 1 Jan 2003 17:07:39 +0100


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

Only show the PCMCIA/CardBus submenu if the PCMCIA/CardBus entry
is selected.

-- 
Tomas Szepe <szepe@pinerecords.com>

diff -urN a/drivers/pcmcia/Kconfig b/drivers/pcmcia/Kconfig --- a/drivers/pcmcia/Kconfig 2002-10-31 02:33:50.000000000 +0100 +++ b/drivers/pcmcia/Kconfig 2003-01-01 17:03:59.000000000 +0100 @@ -5,10 +5,8 @@ # by the integrated kernel driver. # -menu "PCMCIA/CardBus support" - depends on HOTPLUG - config PCMCIA + depends on HOTPLUG tristate "PCMCIA/CardBus support" ---help--- Say Y here if you want to attach PCMCIA- or PC-cards to your Linux @@ -29,6 +27,9 @@ and ds.o. If you want to compile it as a module, say M here and read <file:Documentation/modules.txt>. +menu "PCMCIA/CardBus support config" + depends on PCMCIA + config CARDBUS bool "CardBus support" depends on PCMCIA && PCI - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/