drm/xe: Fix xe_guc_ads.h
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 13 May 2024 08:42:16 +0000 (10:42 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 13 May 2024 19:36:50 +0000 (21:36 +0200)
We don't need to include xe_guc_ads_types.h here.
Use forward declaration instead.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240513084218.2084-3-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_guc_ads.h

index 2e2531779122888e8c1dc26e9435f148b6cf372f..2e6674c760ff91a1619607dac854c88ac0a5ab4e 100644 (file)
@@ -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);