[PATCH v2] psci: rename psci_features function

Tom Rini trini at konsulko.com
Wed May 19 00:26:03 CEST 2021


On Thu, May 06, 2021 at 05:34:27PM +0300, Igor Opaniuk wrote:

> From: Igor Opaniuk <igor.opaniuk at foundries.io>
> 
> 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 at gmail.com>
> Reported-by: Alexandru Gagniuc <mr.nuke.me at gmail.com>
> Fixes: b7135b034f ("psci: add features/reset2 support")
> Signed-off-by: Igor Opaniuk <igor.opaniuk at foundries.io>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210518/92a4c69e/attachment.sig>


More information about the U-Boot mailing list