sandbox: Add dummy sync()
authorTom Rini <trini@konsulko.com>
Fri, 11 Jul 2025 15:20:16 +0000 (09:20 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 18 Jul 2025 18:22:11 +0000 (12:22 -0600)
In order to compile more drivers, add an empty sync() function.

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/sandbox/include/asm/io.h

index 6e3f954..11ed89e 100644 (file)
@@ -8,6 +8,10 @@
 
 #include <linux/types.h>
 
+static inline void sync(void)
+{
+}
+
 enum sandboxio_size_t {
        SB_SIZE_8,
        SB_SIZE_16,