]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Add missing _H to include guard suffixes
authorShuicheng Lin <shuicheng.lin@intel.com>
Tue, 17 Mar 2026 21:57:18 +0000 (21:57 +0000)
committerShuicheng Lin <shuicheng.lin@intel.com>
Mon, 6 Apr 2026 15:52:53 +0000 (08:52 -0700)
commitd45c7454ee32ca91c9e00427ae08ac221765c7b5
treeba62d60cece7ee6084f9241cc5d3d4eb87905286
parente7ac8ddfefa3729e858ac9c5a0c9af3a53d4c699
drm/xe: Add missing _H to include guard suffixes

Ten headers use _XE_<NAME>_ or __XE_<NAME>__ as their include guard but
omit the _H that the rest of the xe codebase uses. Normalize them to
_XE_<NAME>_H_ to follow the dominant convention (_XE_<BASENAME>_H_) used
by ~232 of ~260 xe headers.

Files fixed:
  - xe_migrate.h:       _XE_MIGRATE_       -> _XE_MIGRATE_H_
  - xe_pt_walk.h:       __XE_PT_WALK__     -> _XE_PT_WALK_H_
  - xe_reg_sr.h:        _XE_REG_SR_        -> _XE_REG_SR_H_
  - xe_reg_sr_types.h:  _XE_REG_SR_TYPES_  -> _XE_REG_SR_TYPES_H_
  - xe_reg_whitelist.h: _XE_REG_WHITELIST_ -> _XE_REG_WHITELIST_H_
  - xe_rtp.h:           _XE_RTP_           -> _XE_RTP_H_
  - xe_rtp_helpers.h:   _XE_RTP_HELPERS_   -> _XE_RTP_HELPERS_H_
  - xe_rtp_types.h:     _XE_RTP_TYPES_     -> _XE_RTP_TYPES_H_
  - xe_tuning.h:        _XE_TUNING_        -> _XE_TUNING_H_
  - xe_wa.h:            _XE_WA_            -> _XE_WA_H_

No functional change.

Suggested-by: Nitin Gote <nitin.r.gote@intel.com>
Assisted-by: GitHub Copilot:claude-opus-4.6
Reviewed-by: Nitin Gote <nitin.r.gote@intel.com>
Link: https://patch.msgid.link/20260317215732.2208976-9-shuicheng.lin@intel.com
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
drivers/gpu/drm/xe/xe_migrate.h
drivers/gpu/drm/xe/xe_pt_walk.h
drivers/gpu/drm/xe/xe_reg_sr.h
drivers/gpu/drm/xe/xe_reg_sr_types.h
drivers/gpu/drm/xe/xe_reg_whitelist.h
drivers/gpu/drm/xe/xe_rtp.h
drivers/gpu/drm/xe/xe_rtp_helpers.h
drivers/gpu/drm/xe/xe_rtp_types.h
drivers/gpu/drm/xe/xe_tuning.h
drivers/gpu/drm/xe/xe_wa.h