drm/xe: Prefer single underscore for header guards

Keep header guards consistent with regard to ifdef used. Prefer the more
commonly used in the driver.

	$ git grep  "ifndef __XE_" -- drivers/gpu/drm/xe | wc -l
	8
	$ git grep  "ifndef _XE_" -- drivers/gpu/drm/xe | wc -l
	112

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
This commit is contained in:
Lucas De Marchi
2023-02-24 16:15:48 -08:00
committed by Rodrigo Vivi
parent 5ec15f8311
commit 3457388fcd
8 changed files with 17 additions and 17 deletions

View File

@@ -3,8 +3,8 @@
* Copyright © 2023 Intel Corporation
*/
#ifndef __XE_BO_TEST_H__
#define __XE_BO_TEST_H__
#ifndef _XE_BO_TEST_H_
#define _XE_BO_TEST_H_
struct kunit;

View File

@@ -3,8 +3,8 @@
* Copyright © 2023 Intel Corporation
*/
#ifndef __XE_DMA_BUF_TEST_H__
#define __XE_DMA_BUF_TEST_H__
#ifndef _XE_DMA_BUF_TEST_H_
#define _XE_DMA_BUF_TEST_H_
struct kunit;

View File

@@ -3,8 +3,8 @@
* Copyright © 2023 Intel Corporation
*/
#ifndef __XE_MIGRATE_TEST_H__
#define __XE_MIGRATE_TEST_H__
#ifndef _XE_MIGRATE_TEST_H_
#define _XE_MIGRATE_TEST_H_
struct kunit;

View File

@@ -3,8 +3,8 @@
* Copyright © 2022 Intel Corporation
*/
#ifndef __XE_TEST_H__
#define __XE_TEST_H__
#ifndef _XE_TEST_H_
#define _XE_TEST_H_
#include <linux/types.h>

View File

@@ -3,8 +3,8 @@
* Copyright © 2022 Intel Corporation
*/
#ifndef __XE_GT_TOPOLOGY_H__
#define __XE_GT_TOPOLOGY_H__
#ifndef _XE_GT_TOPOLOGY_H_
#define _XE_GT_TOPOLOGY_H_
#include "xe_gt_types.h"
@@ -17,4 +17,4 @@ void xe_gt_topology_dump(struct xe_gt *gt, struct drm_printer *p);
unsigned int
xe_dss_mask_group_ffs(xe_dss_mask_t mask, int groupsize, int groupnum);
#endif /* __XE_GT_TOPOLOGY_H__ */
#endif /* _XE_GT_TOPOLOGY_H_ */

View File

@@ -3,8 +3,8 @@
* Copyright © 2022 Intel Corporation
*/
#ifndef __XE_MAP_H__
#define __XE_MAP_H__
#ifndef _XE_MAP_H_
#define _XE_MAP_H_
#include <linux/iosys-map.h>

View File

@@ -3,8 +3,8 @@
* Copyright © 2020 Intel Corporation
*/
#ifndef __XE_MIGRATE__
#define __XE_MIGRATE__
#ifndef _XE_MIGRATE_
#define _XE_MIGRATE_
#include <drm/drm_mm.h>

View File

@@ -21,8 +21,8 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef __XE_RES_CURSOR_H__
#define __XE_RES_CURSOR_H__
#ifndef _XE_RES_CURSOR_H_
#define _XE_RES_CURSOR_H_
#include <linux/scatterlist.h>