Re: [patch] pci/hotplug acpiphp: fix Kconfig for Dock dependencies

From: Roman Zippel
Date: Wed Jul 26 2006 - 20:24:53 EST


Hi,

On Wed, 26 Jul 2006, Kristen Carlson Accardi wrote:

> config HOTPLUG_PCI_ACPI
> tristate "ACPI PCI Hotplug driver"
> - depends on ACPI_DOCK && HOTPLUG_PCI
> + depends on (!ACPI_DOCK && ACPI && HOTPLUG_PCI) || (ACPI_DOCK && HOTPLUG_PCI)
> help

If you keep the HOTPLUG_PCI separate, it won't break the menu, e.g.
((!ACPI_DOCK && ACPI) || ACPI_DOCK) && HOTPLUG_PCI
BTW most of this file could be put into a "if HOTPLUG_PCI" group, so all
the HOTPLUG_PCI dependencies don't have to be repeated.

bye, Roman
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/