summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/gvt/gvt.h
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2020-12-08 12:29:12 +0200
committerZhenyu Wang <zhenyuw@linux.intel.com>2020-12-22 11:40:40 +0800
commitfbf24f55f83e6470533a59da3442044231b4cc1a (patch)
tree9a0529de98b82e855dcf00109520b699b8f22bab /drivers/gpu/drm/i915/gvt/gvt.h
parentbb2d5096debcb865b6f5b24195fc51e45e30909b (diff)
downloadlinux-fbf24f55f83e6470533a59da3442044231b4cc1a.tar.gz
linux-fbf24f55f83e6470533a59da3442044231b4cc1a.tar.bz2
linux-fbf24f55f83e6470533a59da3442044231b4cc1a.zip
drm/i915/gvt: make gvt.h self-contained
Add necessary #includes and forward declarations to make the header compile on its own. Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/dc4f4d498a39279d12096c1487a3c50d201e5e4f.1607422863.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/gvt.h')
-rw-r--r--drivers/gpu/drm/i915/gvt/gvt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gvt/gvt.h b/drivers/gpu/drm/i915/gvt/gvt.h
index cf3578e3f4dd..62a4807424bb 100644
--- a/drivers/gpu/drm/i915/gvt/gvt.h
+++ b/drivers/gpu/drm/i915/gvt/gvt.h
@@ -33,6 +33,10 @@
#ifndef _GVT_H_
#define _GVT_H_
+#include <uapi/linux/pci_regs.h>
+
+#include "i915_drv.h"
+
#include "debug.h"
#include "hypercall.h"
#include "mmio.h"