drm/xe: Normalize double-underscore include guards to single-underscore

Six headers use __XE_<NAME>_H__ (double-underscore prefix and suffix)
as their include guards. Normalize them to the single-underscore
_XE_<NAME>_H_ convention used by the rest of the xe codebase.

Files fixed:
  - xe_eu_stall.h:     __XE_EU_STALL_H__     -> _XE_EU_STALL_H_
  - xe_nvm.h:          __XE_NVM_H__          -> _XE_NVM_H_
  - xe_pxp.h:          __XE_PXP_H__          -> _XE_PXP_H_
  - xe_pxp_debugfs.h:  __XE_PXP_DEBUGFS_H__ -> _XE_PXP_DEBUGFS_H_
  - xe_pxp_submit.h:   __XE_PXP_SUBMIT_H__  -> _XE_PXP_SUBMIT_H_
  - xe_pxp_types.h:    __XE_PXP_TYPES_H__   -> _XE_PXP_TYPES_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-12-shuicheng.lin@intel.com
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
This commit is contained in:
Shuicheng Lin 2026-03-17 21:57:21 +00:00
parent 57aad39219
commit 62ef3e610b
6 changed files with 16 additions and 16 deletions

View File

@ -3,8 +3,8 @@
* Copyright © 2025 Intel Corporation
*/
#ifndef __XE_EU_STALL_H__
#define __XE_EU_STALL_H__
#ifndef _XE_EU_STALL_H_
#define _XE_EU_STALL_H_
#include "xe_gt_types.h"
#include "xe_sriov.h"

View File

@ -3,8 +3,8 @@
* Copyright(c) 2019-2025 Intel Corporation. All rights reserved.
*/
#ifndef __XE_NVM_H__
#define __XE_NVM_H__
#ifndef _XE_NVM_H_
#define _XE_NVM_H_
struct xe_device;

View File

@ -3,8 +3,8 @@
* Copyright(c) 2024, Intel Corporation. All rights reserved.
*/
#ifndef __XE_PXP_H__
#define __XE_PXP_H__
#ifndef _XE_PXP_H_
#define _XE_PXP_H_
#include <linux/types.h>
@ -32,4 +32,4 @@ int xe_pxp_key_assign(struct xe_pxp *pxp, struct xe_bo *bo);
int xe_pxp_bo_key_check(struct xe_pxp *pxp, struct xe_bo *bo);
int xe_pxp_obj_key_check(struct drm_gem_object *obj);
#endif /* __XE_PXP_H__ */
#endif /* _XE_PXP_H_ */

View File

@ -3,11 +3,11 @@
* Copyright © 2024 Intel Corporation
*/
#ifndef __XE_PXP_DEBUGFS_H__
#define __XE_PXP_DEBUGFS_H__
#ifndef _XE_PXP_DEBUGFS_H_
#define _XE_PXP_DEBUGFS_H_
struct xe_pxp;
void xe_pxp_debugfs_register(struct xe_pxp *pxp);
#endif /* __XE_PXP_DEBUGFS_H__ */
#endif /* _XE_PXP_DEBUGFS_H_ */

View File

@ -3,8 +3,8 @@
* Copyright(c) 2024, Intel Corporation. All rights reserved.
*/
#ifndef __XE_PXP_SUBMIT_H__
#define __XE_PXP_SUBMIT_H__
#ifndef _XE_PXP_SUBMIT_H_
#define _XE_PXP_SUBMIT_H_
#include <linux/types.h>
@ -19,4 +19,4 @@ int xe_pxp_submit_session_termination(struct xe_pxp *pxp, u32 id);
int xe_pxp_submit_session_invalidation(struct xe_pxp_gsc_client_resources *gsc_res,
u32 id);
#endif /* __XE_PXP_SUBMIT_H__ */
#endif /* _XE_PXP_SUBMIT_H_ */

View File

@ -3,8 +3,8 @@
* Copyright(c) 2024, Intel Corporation. All rights reserved.
*/
#ifndef __XE_PXP_TYPES_H__
#define __XE_PXP_TYPES_H__
#ifndef _XE_PXP_TYPES_H_
#define _XE_PXP_TYPES_H_
#include <linux/completion.h>
#include <linux/iosys-map.h>
@ -132,4 +132,4 @@ struct xe_pxp {
u32 last_suspend_key_instance;
};
#endif /* __XE_PXP_TYPES_H__ */
#endif /* _XE_PXP_TYPES_H_ */