summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/debug.h
diff options
context:
space:
mode:
authorNiklas Schnelle <schnelle@linux.ibm.com>2023-01-03 15:11:07 +0100
committerHeiko Carstens <hca@linux.ibm.com>2023-01-06 16:38:21 +0100
commit0d4d52361b6c29bf771acd4fa461f06d78fb2fac (patch)
tree8c70a451436a20159b6b4ac73fa73a9f0dcd8969 /arch/s390/include/asm/debug.h
parentLinux 6.2-rc2 (diff)
downloadlinux-0d4d52361b6c29bf771acd4fa461f06d78fb2fac.tar.xz
linux-0d4d52361b6c29bf771acd4fa461f06d78fb2fac.zip
s390/debug: add _ASM_S390_ prefix to header guard
Using DEBUG_H without a prefix is very generic and inconsistent with other header guards in arch/s390/include/asm. In fact it collides with the same name in the ath9k wireless driver though that depends on !S390 via disabled wireless support. Let's just use a consistent header guard name and prevent possible future trouble. Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to '')
-rw-r--r--arch/s390/include/asm/debug.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/s390/include/asm/debug.h b/arch/s390/include/asm/debug.h
index 77f24262c25c..ac665b9670c5 100644
--- a/arch/s390/include/asm/debug.h
+++ b/arch/s390/include/asm/debug.h
@@ -4,8 +4,8 @@
*
* Copyright IBM Corp. 1999, 2020
*/
-#ifndef DEBUG_H
-#define DEBUG_H
+#ifndef _ASM_S390_DEBUG_H
+#define _ASM_S390_DEBUG_H
#include <linux/string.h>
#include <linux/spinlock.h>
@@ -487,4 +487,4 @@ void debug_register_static(debug_info_t *id, int pages_per_area, int nr_areas);
#endif /* MODULE */
-#endif /* DEBUG_H */
+#endif /* _ASM_S390_DEBUG_H */