diff options
Diffstat (limited to 'src/drivers/pc80/mc146818rtc.c')
-rw-r--r-- | src/drivers/pc80/mc146818rtc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/drivers/pc80/mc146818rtc.c b/src/drivers/pc80/mc146818rtc.c index 51cd6c3165..6f8a4eb350 100644 --- a/src/drivers/pc80/mc146818rtc.c +++ b/src/drivers/pc80/mc146818rtc.c @@ -71,6 +71,7 @@ void rtc_init(int invalid) unsigned char x; #endif +#ifndef __PRE_RAM__ #if CONFIG_HAVE_ACPI_RESUME /* * Avoid clearing pending interrupts and resetting the RTC control @@ -80,7 +81,8 @@ void rtc_init(int invalid) */ if (acpi_slp_type == 3) return; -#endif +#endif /* CONFIG_HAVE_ACPI_RESUME */ +#endif /* __PRE_RAM__ */ printk(BIOS_DEBUG, "RTC Init\n"); |