mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-19 00:40:08 -05:00
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:
committed by
Rodrigo Vivi
parent
5ec15f8311
commit
3457388fcd
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user