From: Jani Nikula Date: Wed, 26 Jun 2019 14:40:18 +0000 (+0300) Subject: drm/i915: make intel_gvt.h self-contained X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ba740cfc2f262ff02853c0a76a5b4dd7bc628302;p=linux.git drm/i915: make intel_gvt.h self-contained Add the minimal includes/declarations to make the header self-contained, and ensure it stays that way. Reviewed-by: Chris Wilson Signed-off-by: Jani Nikula Link: https://patchwork.freedesktop.org/patch/msgid/20190626144020.2155-12-jani.nikula@intel.com --- diff --git a/drivers/gpu/drm/i915/Makefile.header-test b/drivers/gpu/drm/i915/Makefile.header-test index bb6a9234b7494..4aa588d314a07 100644 --- a/drivers/gpu/drm/i915/Makefile.header-test +++ b/drivers/gpu/drm/i915/Makefile.header-test @@ -22,6 +22,7 @@ header_test := \ intel_guc_ct.h \ intel_guc_fwif.h \ intel_guc_reg.h \ + intel_gvt.h \ intel_pm.h \ intel_runtime_pm.h \ intel_sideband.h \ diff --git a/drivers/gpu/drm/i915/intel_gvt.h b/drivers/gpu/drm/i915/intel_gvt.h index 61b2464702828..85ce37eb7cd6e 100644 --- a/drivers/gpu/drm/i915/intel_gvt.h +++ b/drivers/gpu/drm/i915/intel_gvt.h @@ -24,7 +24,7 @@ #ifndef _INTEL_GVT_H_ #define _INTEL_GVT_H_ -struct intel_gvt; +struct drm_i915_private; #ifdef CONFIG_DRM_I915_GVT int intel_gvt_init(struct drm_i915_private *dev_priv);