Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/xe: Fix xe_mocs.h

We don't need to include <linux/types.h>.
We don't use struct xe_exec_queue here.
We should sort forward declarations.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240506205254.2659-1-michal.wajdeczko@intel.com

+1 -4
+1 -4
drivers/gpu/drm/xe/xe_mocs.h
··· 6 6 #ifndef _XE_MOCS_H_ 7 7 #define _XE_MOCS_H_ 8 8 9 - #include <linux/types.h> 10 - 11 - struct xe_exec_queue; 12 - struct xe_gt; 13 9 struct drm_printer; 10 + struct xe_gt; 14 11 15 12 void xe_mocs_init_early(struct xe_gt *gt); 16 13 void xe_mocs_init(struct xe_gt *gt);