From cc0796ab868876386891192e31035906ee8b99ea Mon Sep 17 00:00:00 2001 From: Yong Cong Sin Date: Wed, 30 Oct 2024 22:26:58 +0800 Subject: [PATCH] soc: andestech: soc_per_core_init_hook() shouldn't return value The `soc_per_core_init_hook()` function now has `void` type after da118b9, so it should just return without any value. Signed-off-by: Yong Cong Sin Signed-off-by: Yong Cong Sin --- soc/andestech/ae350/pma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soc/andestech/ae350/pma.c b/soc/andestech/ae350/pma.c index 71da2248b72..7e1e07111ad 100644 --- a/soc/andestech/ae350/pma.c +++ b/soc/andestech/ae350/pma.c @@ -216,7 +216,7 @@ void soc_early_init_hook(void) LOG_ERR("CPU doesn't support PMA. " "Please disable CONFIG_SOC_ANDES_V5_PMA"); #endif - return -ENODEV; + return; } pma_init_per_core();