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

Signed-off-by: Tom Rini <tr...@konsulko.com>
---
 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 6e3f9547fee7..11ed89e00710 100644
--- a/arch/sandbox/include/asm/io.h
+++ b/arch/sandbox/include/asm/io.h
@@ -8,6 +8,10 @@
 
 #include <linux/types.h>
 
+static inline void sync(void)
+{
+}
+
 enum sandboxio_size_t {
        SB_SIZE_8,
        SB_SIZE_16,
-- 
2.43.0

Reply via email to