summaryrefslogtreecommitdiff
path: root/common/mock/usb_mux_mock.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/mock/usb_mux_mock.c')
-rw-r--r--common/mock/usb_mux_mock.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/mock/usb_mux_mock.c b/common/mock/usb_mux_mock.c
index cbd0132836..2b9a5296fc 100644
--- a/common/mock/usb_mux_mock.c
+++ b/common/mock/usb_mux_mock.c
@@ -10,6 +10,10 @@
#include "mock/usb_mux_mock.h"
#include "memory.h"
+#ifndef CONFIG_COMMON_RUNTIME
+#define cprints(format, args...)
+#endif
+
/* Public API for controlling/inspecting this mock */
struct mock_usb_mux_ctrl mock_usb_mux;