[PATCH 36/79] drm/xe: Clean up headers in xe_huc_debugfs.c

Matt Roper
2026-01-13T23:03:54Z

xe_huc_debugfs.c doesn't use anything from xe_device.h or xe_macros.h.
It also doesn't need xe_gt.h, only xe_gt_types.h. Drop/replace the
unnecessary includes. Also add an explicit include of drm_print.h,
which was being indirectly included previously.

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_huc_debugfs.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_huc_debugfs.c b/drivers/gpu/drm/xe/xe_huc_debugfs.c
index df9c4d79b710..80829967b3d7 100644
--- a/drivers/gpu/drm/xe/xe_huc_debugfs.c
+++ b/drivers/gpu/drm/xe/xe_huc_debugfs.c
@@ -7,11 +7,10 @@

#include <drm/drm_debugfs.h>
#include <drm/drm_managed.h>
+#include <drm/drm_print.h>

-#include "xe_device.h"
-#include "xe_gt.h"
+#include "xe_gt_types.h"
#include "xe_huc.h"
-#include "xe_macros.h"
#include "xe_pm.h"

static struct xe_gt *
--
2.52.0