summaryrefslogtreecommitdiff
path: root/src/include/pc80/mc146818rtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/pc80/mc146818rtc.h')
-rw-r--r--src/include/pc80/mc146818rtc.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/include/pc80/mc146818rtc.h b/src/include/pc80/mc146818rtc.h
index 00606d4017..5fd07294b6 100644
--- a/src/include/pc80/mc146818rtc.h
+++ b/src/include/pc80/mc146818rtc.h
@@ -215,16 +215,9 @@ void cmos_post_log(void);
static inline void cmos_post_log(void) {}
#endif /* CONFIG_CMOS_POST */
-#if CONFIG(USE_OPTION_TABLE)
-void sanitize_cmos(void);
-#else
-static inline void sanitize_cmos(void) {}
-#endif /* CONFIG_USE_OPTION_TABLE */
-
-#else /* !CONFIG_ARCH_X86 */
-static inline void sanitize_cmos(void) {}
#endif /* CONFIG_ARCH_X86 */
+void sanitize_cmos(void);
void cmos_post_init(void);
#endif /* PC80_MC146818RTC_H */