From 786e1f6dea07126b0265fcb6e8f5010d8d3e0e40 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Fri, 11 Jul 2025 09:20:16 -0600 Subject: [PATCH] sandbox: Add dummy sync() In order to compile more drivers, add an empty sync() function. Signed-off-by: Tom Rini --- arch/sandbox/include/asm/io.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/sandbox/include/asm/io.h b/arch/sandbox/include/asm/io.h index 6e3f9547fee..11ed89e0071 100644 --- a/arch/sandbox/include/asm/io.h +++ b/arch/sandbox/include/asm/io.h @@ -8,6 +8,10 @@ #include +static inline void sync(void) +{ +} + enum sandboxio_size_t { SB_SIZE_8, SB_SIZE_16, -- 2.47.2