summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_res_cursor.h
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2023-02-25 03:15:48 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-20 02:29:21 +0300
commit3457388fcd145d64e6852ca60084e822bec81e9f (patch)
tree79f52f8eecbaa6ef9458cba674c782c023c2c2be /drivers/gpu/drm/xe/xe_res_cursor.h
parent5ec15f83117f2f89af39109c264c1fb0bbf8b5f0 (diff)
downloadlinux-3457388fcd145d64e6852ca60084e822bec81e9f.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_res_cursor.h')
-rw-r--r--drivers/gpu/drm/xe/xe_res_cursor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/xe/xe_res_cursor.h b/drivers/gpu/drm/xe/xe_res_cursor.h
index 365c8ad7aeb8..4e99fae26b4c 100644
--- a/drivers/gpu/drm/xe/xe_res_cursor.h
+++ b/drivers/gpu/drm/xe/xe_res_cursor.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>