[PATCH 1/3] drm/i915/display: Add missing include to intel_vga.c

Jani Nikula jani.nikula at intel.com
Tue May 21 09:24:58 UTC 2024


On Mon, 20 May 2024, Michal Wajdeczko <michal.wajdeczko at intel.com> wrote:
> This compilation unit uses udelay() function without including
> it's header file. Fix that to break dependency on other code.
>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
> Cc: Jani Nikula <jani.nikula at intel.com>

Probably won't be an issue to merge this via xe.

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



> ---
>  drivers/gpu/drm/i915/display/intel_vga.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_vga.c b/drivers/gpu/drm/i915/display/intel_vga.c
> index 4b98833bfa8c..0b5916c15307 100644
> --- a/drivers/gpu/drm/i915/display/intel_vga.c
> +++ b/drivers/gpu/drm/i915/display/intel_vga.c
> @@ -3,6 +3,7 @@
>   * Copyright © 2019 Intel Corporation
>   */
>  
> +#include <linux/delay.h>
>  #include <linux/vgaarb.h>
>  
>  #include <video/vga.h>

-- 
Jani Nikula, Intel


More information about the Intel-gfx mailing list