Commit 3457388f authored by Lucas De Marchi's avatar Lucas De Marchi Committed by Rodrigo Vivi

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: default avatarLucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: default avatarMatt Roper <matthew.d.roper@intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent 5ec15f83
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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>
......
......@@ -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_ */
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment