From 6e482b96b387d717302b6d281120121bf93b1936 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Thu, 27 Feb 2020 16:44:08 +0200 Subject: [PATCH] drm/i915/gvt: only include intel_gvt.h where needed i915_drv.c is the only caller. Reviewed-by: Chris Wilson Signed-off-by: Jani Nikula Link: https://patchwork.freedesktop.org/patch/msgid/20200227144408.24345-3-jani.nikula@intel.com --- drivers/gpu/drm/i915/i915_drv.c | 1 + drivers/gpu/drm/i915/i915_drv.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index d05801c..480f756 100644 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c @@ -81,6 +81,7 @@ #include "i915_trace.h" #include "i915_vgpu.h" #include "intel_dram.h" +#include "intel_gvt.h" #include "intel_memory_region.h" #include "intel_pm.h" #include "vlv_suspend.h" diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 62de83a..123d0fad 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -104,8 +104,6 @@ #include "intel_region_lmem.h" -#include "intel_gvt.h" - /* General customization: */ -- 2.7.4