drm/xe: Add missing leading underscore to include guards

Two headers use XE_<NAME>_H_ (no leading underscore) as their include
guard. Normalize them to _XE_<NAME>_H_ to match the convention used
across the xe codebase.

Files fixed:
  - xe_drm_ras.h:  XE_DRM_RAS_H_  -> _XE_DRM_RAS_H_
  - xe_hw_error.h: XE_HW_ERROR_H_ -> _XE_HW_ERROR_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-11-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:20 +00:00
parent b85ff232d2
commit 57aad39219
2 changed files with 4 additions and 4 deletions

View File

@ -2,8 +2,8 @@
/*
* Copyright © 2026 Intel Corporation
*/
#ifndef XE_DRM_RAS_H_
#define XE_DRM_RAS_H_
#ifndef _XE_DRM_RAS_H_
#define _XE_DRM_RAS_H_
struct xe_device;

View File

@ -2,8 +2,8 @@
/*
* Copyright © 2025 Intel Corporation
*/
#ifndef XE_HW_ERROR_H_
#define XE_HW_ERROR_H_
#ifndef _XE_HW_ERROR_H_
#define _XE_HW_ERROR_H_
#include <linux/types.h>