[PATCH 3/4] drm/xe: Fix xe_huc.h
Francois Dugast
francois.dugast at intel.com
Tue May 21 10:39:45 UTC 2024
On Tue, May 21, 2024 at 12:28:27PM +0200, Michal Wajdeczko wrote:
> Prefer forward declaration over #include xe_huc_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_huc.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_huc.h b/drivers/gpu/drm/xe/xe_huc.h
> index 3ab56cc14b00..fa1c45e70443 100644
> --- a/drivers/gpu/drm/xe/xe_huc.h
> +++ b/drivers/gpu/drm/xe/xe_huc.h
> @@ -6,9 +6,10 @@
> #ifndef _XE_HUC_H_
> #define _XE_HUC_H_
>
> -#include "xe_huc_types.h"
> +#include <linux/types.h>
>
> struct drm_printer;
> +struct xe_huc;
>
> enum xe_huc_auth_types {
> XE_HUC_AUTH_VIA_GUC = 0,
> --
> 2.43.0
>
More information about the Intel-xe
mailing list