summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/i915
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-11-06 05:48:43 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-11-06 05:48:43 +0000
commitf15f417a3395be69bccc66c47453a7b483176e46 (patch)
tree416dae6461b72c8d989927e810e7f04d975f3928 /sys/dev/pci/drm/i915
parent2492a0567fae2b5b809365cd52d779927356d8c0 (diff)
Add the required includes for the conditional parts of
struct vga_pci_softc in vga_pcivar.h Original diff from guenther@ changed to incorporate feedback from kettenis@ and myself.
Diffstat (limited to 'sys/dev/pci/drm/i915')
-rw-r--r--sys/dev/pci/drm/i915/i915_drv.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/sys/dev/pci/drm/i915/i915_drv.h b/sys/dev/pci/drm/i915/i915_drv.h
index 60537ee53d9..b5e355d9efe 100644
--- a/sys/dev/pci/drm/i915/i915_drv.h
+++ b/sys/dev/pci/drm/i915/i915_drv.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: i915_drv.h,v 1.52 2014/05/12 19:29:16 kettenis Exp $ */
+/* $OpenBSD: i915_drv.h,v 1.53 2014/11/06 05:48:42 jsg Exp $ */
/* i915_drv.h -- Private header for the I915 driver -*- linux-c -*-
*/
/*
@@ -36,14 +36,21 @@
#include "intel_bios.h"
#include "intel_ringbuffer.h"
+#include "acpi.h"
+#include "drm.h"
+#include "vga.h"
+
+#include <dev/ic/mc6845reg.h>
+#include <dev/ic/pcdisplayvar.h>
+#include <dev/ic/vgareg.h>
+#include <dev/ic/vgavar.h>
+
#include <sys/task.h>
#include <dev/pci/vga_pcivar.h>
#include <dev/wscons/wsconsio.h>
#include <dev/wscons/wsdisplayvar.h>
#include <dev/rasops/rasops.h>
-#include "acpi.h"
-
struct intel_gtt {
/* Size of memory reserved for graphics by the BIOS */
unsigned int stolen_size;