[PATCH 13/79] drm/xe: Cleanup headers in xe_gt_clock.c

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

xe_gt_clock.c doesn't use anything from xe_regs.h, xe_assert.h,
xe_device.h, or xe_macros.h. It also doesn't need xe_gt.h, just the
corresponding 'types' header. Drop/replace the unnecessary includes.

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

diff --git a/drivers/gpu/drm/xe/xe_gt_clock.c b/drivers/gpu/drm/xe/xe_gt_clock.c
index bfc25c46f798..53b3835192da 100644
--- a/drivers/gpu/drm/xe/xe_gt_clock.c
+++ b/drivers/gpu/drm/xe/xe_gt_clock.c
@@ -8,12 +8,8 @@
#include "xe_gt_clock.h"

#include "regs/xe_gt_regs.h"
-#include "regs/xe_regs.h"
-#include "xe_assert.h"
-#include "xe_device.h"
-#include "xe_gt.h"
+#include "xe_gt_types.h"
#include "xe_gt_printk.h"
-#include "xe_macros.h"
#include "xe_mmio.h"

#define f19_2_mhz 19200000
--
2.52.0