summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/firmware.h
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2019-03-18 01:52:05 +0300
committerThierry Reding <treding@nvidia.com>2019-04-09 16:36:19 +0200
commit96446e21d6e9303cce0374af3f4012556dc501ce (patch)
tree2009e3125850cee95578c8761d634a58c1114bbe /arch/arm/include/asm/firmware.h
parentebca2a6ee161502828de017b28a8f1d7422073f0 (diff)
ARM: trusted_foundations: Make prepare_idle call to take mode argument
The Trusted Foundations firmware call varies depending on the required suspend-mode. Make the firmware API to take the mode argument in order to expose all of the modes to firmware user. Tested-by: Robert Yang <decatf@gmail.com> Tested-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm/include/asm/firmware.h')
-rw-r--r--arch/arm/include/asm/firmware.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/firmware.h b/arch/arm/include/asm/firmware.h
index 34c1d96ef46d..6698272bbcbf 100644
--- a/arch/arm/include/asm/firmware.h
+++ b/arch/arm/include/asm/firmware.h
@@ -24,7 +24,7 @@ struct firmware_ops {
/*
* Inform the firmware we intend to enter CPU idle mode
*/
- int (*prepare_idle)(void);
+ int (*prepare_idle)(unsigned long mode);
/*
* Enters CPU idle mode
*/