[Intel-gfx] [PATCH] drm/i915/gvt: Inlcude intel_gvt.h where needed

Jani Nikula jani.nikula at intel.com
Wed Mar 4 09:46:50 UTC 2020


On Wed, 04 Mar 2020, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> 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]

Oops, sorry. /o\

Reviewed-by: Jani Nikula <jani.nikula at intel.com>


>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Jani Nikula <jani.nikula at intel.com>
> ---
>  drivers/gpu/drm/i915/gvt/gvt.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/i915/gvt/gvt.c b/drivers/gpu/drm/i915/gvt/gvt.c
> index 87bed32f1191..a1367bd4fe50 100644
> --- a/drivers/gpu/drm/i915/gvt/gvt.c
> +++ b/drivers/gpu/drm/i915/gvt/gvt.c
> @@ -35,6 +35,7 @@
>  #include <linux/kthread.h>
>  
>  #include "i915_drv.h"
> +#include "intel_gvt.h"
>  #include "gvt.h"
>  #include <linux/vfio.h>
>  #include <linux/mdev.h>

-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the Intel-gfx mailing list