[PATCH 2/4] drm/xe: Fix xe_gsc.h
Francois Dugast
francois.dugast at intel.com
Tue May 21 10:39:20 UTC 2024
On Tue, May 21, 2024 at 12:28:26PM +0200, Michal Wajdeczko wrote:
> Prefer forward declaration over #include xe_gsc_types.h
>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
Reviewed-by: Francois Dugast <francois.dugast at intel.com>
> ---
> drivers/gpu/drm/xe/xe_gsc.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_gsc.h b/drivers/gpu/drm/xe/xe_gsc.h
> index dd16e9b8b894..1c7a623faf11 100644
> --- a/drivers/gpu/drm/xe/xe_gsc.h
> +++ b/drivers/gpu/drm/xe/xe_gsc.h
> @@ -6,8 +6,9 @@
> #ifndef _XE_GSC_H_
> #define _XE_GSC_H_
>
> -#include "xe_gsc_types.h"
> +#include <linux/types.h>
>
> +struct xe_gsc;
> struct xe_gt;
> struct xe_hw_engine;
>
> --
> 2.43.0
>
More information about the Intel-xe
mailing list