summaryrefslogtreecommitdiffstats
path: root/sys/isa
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-10-17 16:09:13 +0000
committerjhb <jhb@FreeBSD.org>2002-10-17 16:09:13 +0000
commitd156d1195f509624362f2c5a1cd5762b8042fa50 (patch)
tree33ec0a93e91f5a5ee3094412a70f391d0f0d2496 /sys/isa
parent98f9976c416b138a7aa31424783acb71d4e33356 (diff)
downloadFreeBSD-src-d156d1195f509624362f2c5a1cd5762b8042fa50.zip
FreeBSD-src-d156d1195f509624362f2c5a1cd5762b8042fa50.tar.gz
Fix compile with options SC_NO_SUSPEND_VTYSWITCH.
Diffstat (limited to 'sys/isa')
-rw-r--r--sys/isa/syscons_isa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/isa/syscons_isa.c b/sys/isa/syscons_isa.c
index 0a9e22e..c34eacb 100644
--- a/sys/isa/syscons_isa.c
+++ b/sys/isa/syscons_isa.c
@@ -88,7 +88,9 @@ scattach(device_t dev)
return sc_attach_unit(device_get_unit(dev), device_get_flags(dev));
}
+#ifndef SC_NO_SUSPEND_VTYSWITCH
static int sc_cur_scr;
+#endif
static int
scsuspend(device_t dev)
OpenPOWER on IntegriCloud