]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe: Fix mismatched include guards in header files
authorShuicheng Lin <shuicheng.lin@intel.com>
Mon, 16 Mar 2026 16:04:45 +0000 (16:04 +0000)
committerShuicheng Lin <shuicheng.lin@intel.com>
Thu, 26 Mar 2026 21:21:12 +0000 (14:21 -0700)
commitb6df77f40c83d02fad6e58f84391417cb7d8f7a5
tree8067c24f2e91c264006177a1e6a03afb9dfb3873
parent225d02cb46d0e567eb788308168159f61735c8fe
drm/xe: Fix mismatched include guards in header files

Fix include guard macros that don't match their respective file names:

- xe_gt_idle_types.h: _XE_GT_IDLE_SYSFS_TYPES_H_ -> _XE_GT_IDLE_TYPES_H_
- xe_guc_exec_queue_types.h: _XE_GUC_ENGINE_TYPES_H_ -> _XE_GUC_EXEC_QUEUE_TYPES_H_
- xe_heci_gsc.h: __XE_HECI_GSC_DEV_H__ -> _XE_HECI_GSC_H_
- xe_hw_engine_class_sysfs.h: _XE_ENGINE_CLASS_SYSFS_H_ -> _XE_HW_ENGINE_CLASS_SYSFS_H_
- xe_late_bind_fw_types.h: _XE_LATE_BIND_TYPES_H_ -> _XE_LATE_BIND_FW_TYPES_H_
- xe_platform_types.h: _XE_PLATFORM_INFO_TYPES_H_ -> _XE_PLATFORM_TYPES_H_
- xe_tile_printk.h: _xe_tile_printk_H_ -> _XE_TILE_PRINTK_H_

These guards appear to be leftovers from file renames or copy-paste
errors. Correcting them to follow the standard convention of matching
the file name prevents potential include guard collisions.

No functional change expected.

Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Reviewed-by: Nitin Gote <nitin.r.gote@intel.com>
Link: https://patch.msgid.link/20260316160451.1688247-2-shuicheng.lin@intel.com
drivers/gpu/drm/xe/xe_gt_idle_types.h
drivers/gpu/drm/xe/xe_guc_exec_queue_types.h
drivers/gpu/drm/xe/xe_heci_gsc.h
drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.h
drivers/gpu/drm/xe/xe_late_bind_fw_types.h
drivers/gpu/drm/xe/xe_platform_types.h
drivers/gpu/drm/xe/xe_tile_printk.h