diff mbox series

[1/2] arm: imx9: Correct imx9_probe_mu prototype

Message ID 1711622882-61969-1-git-send-email-ye.li@nxp.com
State Changes Requested
Delegated to: Fabio Estevam
Headers show
Series [1/2] arm: imx9: Correct imx9_probe_mu prototype | expand

Commit Message

Ye Li March 28, 2024, 10:48 a.m. UTC
Since the event callback imx9_probe_mu is re-defined, update
its prototype.

Signed-off-by: Ye Li <ye.li@nxp.com>
---
 arch/arm/include/asm/arch-imx9/mu.h | 2 +-
 board/freescale/imx93_evk/spl.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Fabio Estevam March 30, 2024, 6:07 p.m. UTC | #1
On Thu, Mar 28, 2024 at 7:48 AM Ye Li <ye.li@nxp.com> wrote:

> -       ret = imx9_probe_mu(NULL, NULL);
> +       ret = imx9_probe_mu();

This series breaks the build because you missed updating phycore_imx93 and
imx93_var_som:

board/phytec/phycore_imx93/spl.c:       ret = imx9_probe_mu(NULL, NULL);
board/variscite/imx93_var_som/spl.c:    ret = imx9_probe_mu(NULL, NULL);

Please fix and resend.
diff mbox series

Patch

diff --git a/arch/arm/include/asm/arch-imx9/mu.h b/arch/arm/include/asm/arch-imx9/mu.h
index b860499..649b8a6 100644
--- a/arch/arm/include/asm/arch-imx9/mu.h
+++ b/arch/arm/include/asm/arch-imx9/mu.h
@@ -8,6 +8,6 @@ 
 
 #include <event.h>
 
-int imx9_probe_mu(void *ctx, struct event *event);
+int imx9_probe_mu(void);
 
 #endif
diff --git a/board/freescale/imx93_evk/spl.c b/board/freescale/imx93_evk/spl.c
index 2fd5559..7331a20 100644
--- a/board/freescale/imx93_evk/spl.c
+++ b/board/freescale/imx93_evk/spl.c
@@ -116,7 +116,7 @@  void board_init_f(ulong dummy)
 
 	preloader_console_init();
 
-	ret = imx9_probe_mu(NULL, NULL);
+	ret = imx9_probe_mu();
 	if (ret) {
 		printf("Fail to init Sentinel API\n");
 	} else {