hw/acpi/Kconfig: Add missing dependencies to ACPI_ICH9
authorBernhard Beschow <shentey@gmail.com>
Fri, 16 Dec 2022 13:03:50 +0000 (14:03 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 8 Jan 2023 06:54:21 +0000 (01:54 -0500)
ich9_lpc_realize() uses apm_init() and ich9_smbus_realize() uses
pm_smbus_init(), so both APM and ACPI_SMBUS are provided by the device
models managed by ACPI_ICH9.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221216130355.41667-3-shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/Kconfig
hw/isa/Kconfig

index 14694c75b49ca69a078f47dc6f058a3f958830f8..704cbc62365360d282e3f735e139090b7c4180af 100644 (file)
@@ -15,7 +15,9 @@ config ACPI_X86
 
 config ACPI_ICH9
     bool
+    select ACPI_SMBUS
     select ACPI_X86
+    select APM
 
 config ACPI_CPU_HOTPLUG
     bool
index 01f330d941418d26f4c35d53b0abb25ba55d11f5..0a6a04947ce4f99a0dfdc14a5e1f7ae1457f46c9 100644 (file)
@@ -77,5 +77,4 @@ config LPC_ICH9
     # for ICH9.
     select I8257
     select ISA_BUS
-    select ACPI_SMBUS
     select ACPI_ICH9