Skip to content

Commit 95140ed

Browse files
committed
psci: add CPU_IDLE dependency
I ran into a build error for the psci_checker: drivers/firmware/psci_checker.o: In function `psci_checker': psci_checker.c:(.init.text+0x528): undefined reference to `cpuidle_devices' As far as I can tell, this is simply a very rare combination of options, but the problem has existed since the code was initially added. Adding a Kconfig dependency makes it build properly. Fixes: ea8b1c4 ("drivers: psci: PSCI checker module") Acked-by: Kevin Brodsky <kevin.brodsky@arm.com> Reviewed-by: Nishanth Menon <nm@ti.com> Reviewed-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent c5b40c3 commit 95140ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/firmware/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ config ARM_PSCI_FW
1010

1111
config ARM_PSCI_CHECKER
1212
bool "ARM PSCI checker"
13-
depends on ARM_PSCI_FW && HOTPLUG_CPU && !TORTURE_TEST
13+
depends on ARM_PSCI_FW && HOTPLUG_CPU && CPU_IDLE && !TORTURE_TEST
1414
help
1515
Run the PSCI checker during startup. This checks that hotplug and
1616
suspend operations work correctly when using PSCI.

0 commit comments

Comments
 (0)