Skip to contentSkip to conversation

sandbox: Add dummy sync()

PATCH In review Tom Rini 1 participant 2 messages Jul 11, 2025 – Jul 18, 2025

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 sandbox: Add dummy sync()

In order to compile more drivers, add an empty sync() function.

---
 arch/sandbox/include/asm/io.h | 4 ++++
 1 file changed, 4 insertions(+)
arch/sandbox/include/asm/io.h +4 -0
index 6e3f9547fee7..11ed89e00710 100644
@@ -8,6 +8,10 @@
 
 #include <linux/types.h>
 
+static inline void sync(void)
+{
+}
+
 enum sandboxio_size_t {
 	SB_SIZE_8,
 	SB_SIZE_16,
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 3 lines · Tom Rini

In order to compile more drivers, add an empty sync() function.

Applied to u-boot/master, thanks!

[1/1] sandbox: Add dummy sync()

      commit: 786e1f6dea07126b0265fcb6e8f5010d8d3e0e40
Signature · 1 line
Tom