]> Git Repo - qemu.git/commitdiff
hw/acpi/Kconfig: Add missing dependencies to ACPI_PIIX4
authorBernhard Beschow <[email protected]>
Fri, 16 Dec 2022 13:03:52 +0000 (14:03 +0100)
committerMichael S. Tsirkin <[email protected]>
Sun, 8 Jan 2023 06:54:21 +0000 (01:54 -0500)
piix4_pm_realize() uses apm_init() and pm_smbus_init(), so both APM and
ACPI_SMBUS are provided by the device model managed by ACPI_PIIX4.

The ACPIREGS are also provided by ACPI_PIIX4, so needs to select ACPI.

Signed-off-by: Bernhard Beschow <[email protected]>
Message-Id: <20221216130355[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
hw/acpi/Kconfig

index b7006e18c802a66151191de0acd163c8e15765a6..1f7803fdab874fc12bf8178f10c8a052990030d2 100644 (file)
@@ -31,7 +31,9 @@ config ACPI_NVDIMM
 
 config ACPI_PIIX4
     bool
-    depends on ACPI
+    select ACPI
+    select ACPI_SMBUS
+    select APM
 
 config ACPI_PCIHP
     bool
This page took 0.028944 seconds and 4 git commands to generate.