From 6dca74ba72ee71bb024d4fe39fa962d7078a2723 Mon Sep 17 00:00:00 2001 From: Alice Frosi Date: Tue, 12 May 2020 09:28:30 +0200 Subject: [PATCH] kernel: moved acpi hotplug config Moved: --- CONFIG_HOTPLUG_PCI_ACPI=y CONFIG_PNPACPI=y --- from hotplug to acpi. In this way, it is possible to skip these config if the acpi feature is not supported. Signed-off-by: Alice Frosi Signed-off-by: Jakob-Naucke --- tools/packaging/kernel/configs/fragments/common/acpi.conf | 2 ++ tools/packaging/kernel/configs/fragments/common/hotplug.conf | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/packaging/kernel/configs/fragments/common/acpi.conf b/tools/packaging/kernel/configs/fragments/common/acpi.conf index 1ee7cd3295..02020df0cc 100644 --- a/tools/packaging/kernel/configs/fragments/common/acpi.conf +++ b/tools/packaging/kernel/configs/fragments/common/acpi.conf @@ -20,3 +20,5 @@ CONFIG_ACPI_CONTAINER=y CONFIG_ACPI_HOTPLUG_MEMORY=y CONFIG_ACPI_NFIT=y CONFIG_HAVE_ACPI_APEI=y +CONFIG_HOTPLUG_PCI_ACPI=y +CONFIG_PNPACPI=y diff --git a/tools/packaging/kernel/configs/fragments/common/hotplug.conf b/tools/packaging/kernel/configs/fragments/common/hotplug.conf index 342636aca7..af84a24d72 100644 --- a/tools/packaging/kernel/configs/fragments/common/hotplug.conf +++ b/tools/packaging/kernel/configs/fragments/common/hotplug.conf @@ -5,8 +5,6 @@ CONFIG_HOTPLUG_CPU=y CONFIG_HOTPLUG_PCI=y CONFIG_HOTPLUG_PCI_PCIE=y CONFIG_PCIEPORTBUS=y -CONFIG_HOTPLUG_PCI_ACPI=y -CONFIG_PNPACPI=y # Define hotplugs to be online immediately. Speeds things up, and makes things # work smoother on some arch's.