On Fri, Jun 06, 2025 at 11:03:21PM +0300, Mikhail Kshevetskiy wrote:

> According to include/sysreset.h the reset_cpu() function does not take any 
> args
> 
> Signed-off-by: Mikhail Kshevetskiy <[email protected]>
> ---
>  arch/arm/mach-airoha/an7581/init.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-airoha/an7581/init.c 
> b/arch/arm/mach-airoha/an7581/init.c
> index cefe9c6db9e..e127ab2ad68 100644
> --- a/arch/arm/mach-airoha/an7581/init.c
> +++ b/arch/arm/mach-airoha/an7581/init.c
> @@ -21,7 +21,7 @@ int dram_init_banksize(void)
>       return fdtdec_setup_memory_banksize();
>  }
>  
> -void reset_cpu(ulong addr)
> +void reset_cpu(void)
>  {
>       psci_system_reset();
>  }

Please add #include <sysreset.h> here too, thanks.

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to