[PATCH 62/79] drm/xe: Cleanup headers in xe_step.c

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

xe_step.c only needs the device types header, not the full device
header. Drop the unnecessary include. However it does require
drm_print.h, which was being indirectly included via the device header
so also add an explicit include of drm_print.h.

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

diff --git a/drivers/gpu/drm/xe/xe_step.c b/drivers/gpu/drm/xe/xe_step.c
index 10e88f2c9615..2860986f82f7 100644
--- a/drivers/gpu/drm/xe/xe_step.c
+++ b/drivers/gpu/drm/xe/xe_step.c
@@ -5,10 +5,11 @@

#include "xe_step.h"

+#include <drm/drm_print.h>
#include <kunit/visibility.h>
#include <linux/bitfield.h>

-#include "xe_device.h"
+#include "xe_device_types.h"
#include "xe_platform_types.h"

/*
--
2.52.0