[PATCH 06/15] PCI/acpiphp: Convert "acpiphp" sub-driver'sfunctionality to built-in only

From: Myron Stowe
Date: Fri Dec 07 2012 - 01:25:27 EST

The "ACPI Hot Plug PCI Controller ("acpiphp")" sub-driver may be compiled
as a module. Kernel modules are instantiated somewhat randomly - the
order in which they are linked as the kernel as built - thus if there are
any dependencies on the ordering of attaching sub-drivers, they can not be
effectively dealt with.

This patch series resolves any potential sequencing inter-dependencies by
converting "acpiphp" sub-driver's functionality to being only supported as
statically built-in to the kernel. Inter-dependencies can then be
effectively handled by explicitly sequencing the addition of such

Signed-off-by: Myron Stowe <myron.stowe@xxxxxxxxxx>

drivers/pci/hotplug/Kconfig | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/drivers/pci/hotplug/Kconfig b/drivers/pci/hotplug/Kconfig
index b0e46de..3bf2b82 100644
--- a/drivers/pci/hotplug/Kconfig
+++ b/drivers/pci/hotplug/Kconfig
@@ -52,15 +52,12 @@ config HOTPLUG_PCI_IBM
When in doubt, say N.

- tristate "ACPI PCI Hotplug driver"
+ bool "ACPI PCI Hotplug driver"
depends on (!ACPI_DOCK && ACPI) || (ACPI_DOCK)
Say Y here if you have a system that supports PCI Hotplug using

- To compile this driver as a module, choose M here: the
- module will be called acpiphp.
When in doubt, say N.


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/