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:
parent
ab52b803a0
commit
b5f9da0f8d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=191780
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user