There is no atrtc driver in pc98, so hide atrtcclock_disable variable usage

in APM driver for this platform. This should fix pc98 build.
This commit is contained in:
Alexander Motin 2009-05-04 08:36:47 +00:00
parent ab52b803a0
commit b5f9da0f8d

View File

@ -1155,8 +1155,10 @@ apm_attach(device_t dev)
mtx_init(&sc->mtx, device_get_nameunit(dev), "apm", MTX_DEF);
cv_init(&sc->cv, "cbb cv");
#ifdef PC98
if (device_get_flags(dev) & 0x20)
atrtcclock_disable = 1;
#endif
sc->initialized = 0;