]> git.dujemihanovic.xyz Git - u-boot.git/commit
psci: rename psci_features function
authorIgor Opaniuk <igor.opaniuk@foundries.io>
Thu, 6 May 2021 14:34:27 +0000 (17:34 +0300)
committerTom Rini <trini@konsulko.com>
Mon, 17 May 2021 21:18:40 +0000 (17:18 -0400)
commiteefa9d7f089f5da5646b40bd713e8c42b27c2e43
treef60b1ce2cfb582db3816f5eacc557d6854d7f749
parent6c353b34cfd86797be25de8908695132646ef321
psci: rename psci_features function

s/psci_features/request_psci_features/g for the case when both
ARCH_SUPPORT_PSCI=y and ARM_PSCI_FW=y, that leads to these
compilation issues:

drivers/firmware/psci.c:69:12: error: conflicting types for 'psci_features'
   69 | static int psci_features(u32 psci_func_id)
      |            ^~~~~~~~~~~~~
In file included from drivers/firmware/psci.c:23:
./arch/arm/include/asm/system.h:548:5: note: previous declaration of 'psci_features' was here
  548 | s32 psci_features(u32 function_id, u32 psci_fid);
      |     ^~~~~~~~~~~~~

Tested-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reported-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Fixes: b7135b034f ("psci: add features/reset2 support")
Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
drivers/firmware/psci.c