diff mbox series

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

Message ID 20240520181814.2392-2-michal.wajdeczko@intel.com (mailing list archive)
State New, archived
Headers show
Series drm/xe: Cleanup xe_mmio.h | expand

Commit Message

Michal Wajdeczko May 20, 2024, 6:18 p.m. UTC
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@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/i915/display/intel_vga.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Jani Nikula May 21, 2024, 9:24 a.m. UTC | #1
On Mon, 20 May 2024, Michal Wajdeczko <michal.wajdeczko@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@intel.com>
> Cc: Jani Nikula <jani.nikula@intel.com>

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

Acked-by: Jani Nikula <jani.nikula@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>
diff mbox series

Patch

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>