@@ -52,15 +52,12 @@ config HOTPLUG_PCI_IBM
When in doubt, say N.
config HOTPLUG_PCI_ACPI
- tristate "ACPI PCI Hotplug driver"
- depends on (!ACPI_DOCK && ACPI) || (ACPI_DOCK)
+ bool "ACPI PCI Hotplug driver"
+ depends on HOTPLUG_PCI=y && ((!ACPI_DOCK && ACPI) || (ACPI_DOCK))
help
Say Y here if you have a system that supports PCI Hotplug using
ACPI.
- To compile this driver as a module, choose M here: the
- module will be called acpiphp.
-
When in doubt, say N.
config HOTPLUG_PCI_ACPI_IBM
@@ -364,14 +364,4 @@ static int __init acpiphp_init(void)
}
-static void __exit acpiphp_exit(void)
-{
- if (acpi_pci_disabled)
- return;
-
- /* deallocate internal data structures etc. */
- acpiphp_glue_exit();
-}
-
module_init(acpiphp_init);
-module_exit(acpiphp_exit);
Prepare for coming bugfixes by converting acpiphp as a builtin driver. This change has a drawback that user has no way to disable the acpiphp driver anymore once it becomes a builtin driver. We may introduce a kernel option to disable the acpiphp driver if needed. Signed-off-by: Jiang Liu <jiang.liu@huawei.com> --- drivers/pci/hotplug/Kconfig | 7 ++----- drivers/pci/hotplug/acpiphp_core.c | 10 ---------- 2 files changed, 2 insertions(+), 15 deletions(-)