]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915/gvt: make mpt.h self-contained
authorJani Nikula <jani.nikula@intel.com>
Tue, 8 Dec 2020 10:29:14 +0000 (12:29 +0200)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 22 Dec 2020 03:41:35 +0000 (11:41 +0800)
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/73958c4ed1d94aa581acd91f7d7e82785b13d07e.1607422863.git.jani.nikula@intel.com
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/gvt/mpt.h

index 38c6d8257b0bafd0ffb3b4bbb1f70e67a251ccf1..220c275aba846f7592161202d3f70a70199ecc95 100644 (file)
@@ -283,8 +283,7 @@ obj-$(CONFIG_DRM_I915_GVT_KVMGT) += gvt/kvmgt.o
 
 # exclude some broken headers from the test coverage
 no-header-test := \
-       display/intel_vbt_defs.h \
-       gvt/mpt.h
+       display/intel_vbt_defs.h
 
 extra-$(CONFIG_DRM_I915_WERROR) += \
        $(patsubst %.h,%.hdrtest, $(filter-out $(no-header-test), \
index 6f92cde71971ea7aac72fe838f08e5b70009b5c9..550a456e936fc44ee69bad487cf31d4b7596f974 100644 (file)
@@ -33,6 +33,8 @@
 #ifndef _GVT_MPT_H_
 #define _GVT_MPT_H_
 
+#include "gvt.h"
+
 /**
  * DOC: Hypervisor Service APIs for GVT-g Core Logic
  *