Skip to content
Commit 95140ed1 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

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: ea8b1c4a ("drivers: psci: PSCI checker module")
Acked-by: default avatarKevin Brodsky <kevin.brodsky@arm.com>
Reviewed-by: default avatarNishanth Menon <nm@ti.com>
Reviewed-by: default avatarJean Delvare <jdelvare@suse.de>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent c5b40c31
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment