[PATCH] only show the PCI hotplug submenu if PCI hotplug is selected

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

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

Only show the PCI hotplug submenu if the PCI hotplug entry is selected.

Tomas Szepe <szepe@pinerecords.com>

diff -urN a/drivers/hotplug/Kconfig b/drivers/hotplug/Kconfig --- a/drivers/hotplug/Kconfig 2002-11-11 08:45:02.000000000 +0100 +++ b/drivers/hotplug/Kconfig 2003-01-01 17:10:06.000000000 +0100 @@ -2,12 +2,9 @@ # PCI Hotplug support # -menu "PCI Hotplug Support" - depends on HOTPLUG - config HOTPLUG_PCI tristate "Support for PCI Hotplug (EXPERIMENTAL)" - depends on PCI && EXPERIMENTAL + depends on HOTPLUG && PCI && EXPERIMENTAL ---help--- Say Y here if you have a motherboard with a PCI Hotplug controller. This allows you to add and remove PCI cards while the machine is @@ -21,6 +18,9 @@ When in doubt, say N. +menu "PCI Hotplug Support config" + depends on HOTPLUG_PCI + config HOTPLUG_PCI_COMPAQ tristate "Compaq PCI Hotplug driver" depends on HOTPLUG_PCI && X86 - 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/