summaryrefslogtreecommitdiff
path: root/src/intel_module.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-08-12 13:12:21 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-08-12 13:12:21 +0100
commit8da8c88e999d74fb110dddd497f03854adc089cc (patch)
tree71eb7b87e3b83319e878d36c1881b5634a052c37 /src/intel_module.c
parent4abc9c317b1f79f3f3d687fcf2d255b4d7416c2c (diff)
intel: Check for HW_SKIP_CONSOLE before use
For the older xserver. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel_module.c')
-rw-r--r--src/intel_module.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel_module.c b/src/intel_module.c
index 42fa8d8b..b91152e8 100644
--- a/src/intel_module.c
+++ b/src/intel_module.c
@@ -382,8 +382,10 @@ static Bool intel_driver_func(ScrnInfoPtr pScrn,
#else
(*flag) = HW_IO | HW_MMIO;
#endif
+#ifdef HW_SKIP_CONSOLE
if (hosted())
(*flag) = HW_SKIP_CONSOLE;
+#endif
return TRUE;
default: