mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
psci: add 'static inline' to invoke_psci_fn() stub
Avoid potential multiple definitions when CONFIG_ARM_PSCI_FW is disabled. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
6d81eed9fd
commit
1c078ad7d9
1 changed files with 2 additions and 2 deletions
|
@ -91,7 +91,7 @@
|
|||
unsigned long invoke_psci_fn(unsigned long a0, unsigned long a1,
|
||||
unsigned long a2, unsigned long a3);
|
||||
#else
|
||||
unsigned long invoke_psci_fn(unsigned long a0, unsigned long a1,
|
||||
static inline unsigned long invoke_psci_fn(unsigned long a0, unsigned long a1,
|
||||
unsigned long a2, unsigned long a3)
|
||||
{
|
||||
return PSCI_RET_DISABLED;
|
||||
|
|
Loading…
Reference in a new issue