diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-07-31 10:55:00 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2018-01-19 16:15:37 +0100 |
commit | 95140ed16db560ef86ab4ebe1a4e9b748d098669 (patch) | |
tree | b7f3c6d4533295da1f20c4e7c5d8138c4a46b8e4 /drivers/firmware | |
parent | c5b40c315a8671da99b35ace2484d6fa11a18ab9 (diff) | |
download | talos-op-linux-95140ed16db560ef86ab4ebe1a4e9b748d098669.tar.gz talos-op-linux-95140ed16db560ef86ab4ebe1a4e9b748d098669.zip |
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: ea8b1c4a6019 ("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>
Diffstat (limited to 'drivers/firmware')
-rw-r--r-- | drivers/firmware/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig index fa87a055905e..7db73c833d28 100644 --- a/drivers/firmware/Kconfig +++ b/drivers/firmware/Kconfig @@ -10,7 +10,7 @@ config ARM_PSCI_FW config ARM_PSCI_CHECKER bool "ARM PSCI checker" - depends on ARM_PSCI_FW && HOTPLUG_CPU && !TORTURE_TEST + depends on ARM_PSCI_FW && HOTPLUG_CPU && CPU_IDLE && !TORTURE_TEST help Run the PSCI checker during startup. This checks that hotplug and suspend operations work correctly when using PSCI. |