Skip to content

Commit 0d4d523

Browse files
niklas88hcahca
authored andcommitted
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 <[email protected]> Signed-off-by: Heiko Carstens <[email protected]>
1 parent 88603b6 commit 0d4d523

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arch/s390/include/asm/debug.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*
55
* Copyright IBM Corp. 1999, 2020
66
*/
7-
#ifndef DEBUG_H
8-
#define DEBUG_H
7+
#ifndef _ASM_S390_DEBUG_H
8+
#define _ASM_S390_DEBUG_H
99

1010
#include <linux/string.h>
1111
#include <linux/spinlock.h>
@@ -487,4 +487,4 @@ void debug_register_static(debug_info_t *id, int pages_per_area, int nr_areas);
487487

488488
#endif /* MODULE */
489489

490-
#endif /* DEBUG_H */
490+
#endif /* _ASM_S390_DEBUG_H */

0 commit comments

Comments
 (0)