summaryrefslogtreecommitdiff
path: root/src/drivers/pc80
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/pc80')
-rw-r--r--src/drivers/pc80/mc146818rtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/pc80/mc146818rtc.c b/src/drivers/pc80/mc146818rtc.c
index 4a42b9d1b4..d8d1778b5c 100644
--- a/src/drivers/pc80/mc146818rtc.c
+++ b/src/drivers/pc80/mc146818rtc.c
@@ -97,11 +97,11 @@ void rtc_init(int invalid)
for(i = 10; i < 128; i++) {
cmos_write(0, i);
}
-
+#endif
if (cmos_invalid) {
rtc_update_cmos_date(RTC_HAS_NO_ALTCENTURY);
}
-#endif
+
printk(BIOS_WARNING, "RTC:%s%s%s%s\n",
invalid?" Clear requested":"",
cmos_invalid?" Power Problem":"",