summaryrefslogtreecommitdiff
path: root/src/include/pc80
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/pc80')
-rw-r--r--src/include/pc80/mc146818rtc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/pc80/mc146818rtc.h b/src/include/pc80/mc146818rtc.h
index fd403087a6..cf4a9514c9 100644
--- a/src/include/pc80/mc146818rtc.h
+++ b/src/include/pc80/mc146818rtc.h
@@ -220,6 +220,8 @@ static inline enum cb_err get_option(void *dest __attribute__((unused)),
#define CMOS_POST_EXTRA_DEV_PATH 0x01
void cmos_post_log(void);
+#else
+static inline void cmos_post_log(void) {}
#endif /* CONFIG_CMOS_POST */
#endif /* PC80_MC146818RTC_H */