summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@openbsd.org>2013-02-23 10:46:19 +0100
committerMark Kettenis <kettenis@openbsd.org>2013-02-23 10:46:19 +0100
commitff4009d50ad2001c45aa0ecb1f85d7d60981cf1d (patch)
tree533e8224889ca41313bc34e5a10410f6ce47ea91
parent993ec0e1d1762b58c21650a3d01e1600039c3e32 (diff)
Don't clear wsdisplay_console_initted since we just want to override the
wsdisplay console attachment.
-rw-r--r--sys/dev/pci/drm/i915_drv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/i915_drv.c b/sys/dev/pci/drm/i915_drv.c
index b03cd34d8a6..c381e0bd683 100644
--- a/sys/dev/pci/drm/i915_drv.c
+++ b/sys/dev/pci/drm/i915_drv.c
@@ -867,7 +867,6 @@ inteldrm_attach(struct device *parent, struct device *self, void *aux)
if (wsdisplay_console_initted) {
long defattr;
- wsdisplay_console_initted = 0;
ri->ri_ops.alloc_attr(ri, 0, 0, 0, &defattr);
wsdisplay_cnattach(&inteldrm_stdscreen, ri, 0, 0, defattr);
aa.console = 1;