summaryrefslogtreecommitdiffstats
path: root/sys/i386/bios/apm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/bios/apm.c')
-rw-r--r--sys/i386/bios/apm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/bios/apm.c b/sys/i386/bios/apm.c
index 2ac82c5..0d8532f 100644
--- a/sys/i386/bios/apm.c
+++ b/sys/i386/bios/apm.c
@@ -59,6 +59,7 @@ __FBSDID("$FreeBSD$");
#include <vm/vm_param.h>
#include <i386/bios/apm.h>
+#include <isa/rtc.h>
/* Used by the apm_saver screen saver module */
int apm_display(int newstate);
@@ -1155,7 +1156,7 @@ apm_attach(device_t dev)
cv_init(&sc->cv, "cbb cv");
if (device_get_flags(dev) & 0x20)
- statclock_disable = 1;
+ atrtcclock_disable = 1;
sc->initialized = 0;
OpenPOWER on IntegriCloud