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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/pc80/mc146818rtc.h b/src/include/pc80/mc146818rtc.h
index 46dbd736db..56f8cafe90 100644
--- a/src/include/pc80/mc146818rtc.h
+++ b/src/include/pc80/mc146818rtc.h
@@ -1,6 +1,8 @@
#ifndef PC80_MC146818RTC_H
#define PC80_MC146818RTC_H
+#if CONFIG_ARCH_X86
+
#include <arch/io.h>
#include <types.h>
@@ -224,4 +226,6 @@ void cmos_post_log(void);
static inline void cmos_post_log(void) {}
#endif /* CONFIG_CMOS_POST */
+#endif /* CONFIG_ARCH_X86 */
+
#endif /* PC80_MC146818RTC_H */