From: Chris Wilson Date: Wed, 4 Mar 2020 00:23:31 +0000 (+0000) Subject: drm/i915/gvt: Inlcude intel_gvt.h where needed X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b54fc5f5b7b5bdfad261206edaaf46d585a2d88a;p=linux.git drm/i915/gvt: Inlcude intel_gvt.h where needed drivers/gpu/drm/i915/gvt/gvt.c:264:6: error: no previous prototype for ‘intel_gvt_clean_device’ [-Werror=missing-prototypes] drivers/gpu/drm/i915/gvt/gvt.c:301:5: error: no previous prototype for ‘intel_gvt_init_device’ [-Werror=missing-prototypes] Signed-off-by: Chris Wilson Cc: Jani Nikula Reviewed-by: Jani Nikula Link: https://patchwork.freedesktop.org/patch/msgid/20200304002331.2126072-1-chris@chris-wilson.co.uk --- diff --git a/drivers/gpu/drm/i915/gvt/gvt.c b/drivers/gpu/drm/i915/gvt/gvt.c index 87bed32f11917..a1367bd4fe501 100644 --- a/drivers/gpu/drm/i915/gvt/gvt.c +++ b/drivers/gpu/drm/i915/gvt/gvt.c @@ -35,6 +35,7 @@ #include #include "i915_drv.h" +#include "intel_gvt.h" #include "gvt.h" #include #include