[PATCH 2/4] drm/xe: Fix xe_guc_ads.h
Rodrigo Vivi
rodrigo.vivi at intel.com
Mon May 13 15:44:19 UTC 2024
On Mon, May 13, 2024 at 10:42:16AM +0200, Michal Wajdeczko wrote:
> We don't need to include xe_guc_ads_types.h here.
> Use forward declaration instead.
>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
> ---
> drivers/gpu/drm/xe/xe_guc_ads.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_guc_ads.h b/drivers/gpu/drm/xe/xe_guc_ads.h
> index 2e2531779122..2e6674c760ff 100644
> --- a/drivers/gpu/drm/xe/xe_guc_ads.h
> +++ b/drivers/gpu/drm/xe/xe_guc_ads.h
> @@ -6,7 +6,7 @@
> #ifndef _XE_GUC_ADS_H_
> #define _XE_GUC_ADS_H_
>
> -#include "xe_guc_ads_types.h"
> +struct xe_guc_ads;
>
> int xe_guc_ads_init(struct xe_guc_ads *ads);
> int xe_guc_ads_init_post_hwconfig(struct xe_guc_ads *ads);
> --
> 2.43.0
>
More information about the Intel-xe
mailing list