Skip to contentSkip to conversation

powerpc/serial: Fix include guard comment

PATCH Applied Thorsten Blum 3 participants 3 messages Jun 23 – Jul 30 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/serial: Fix include guard comment

Replace _PPC64_SERIAL_H with _ASM_POWERPC_SERIAL_H to match the actual macro name. Remove an empty comment while at it.

---
 arch/powerpc/include/asm/serial.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
arch/powerpc/include/asm/serial.h +1 -3
index cd6c18d0e66e..c3eb4a64b3f5 100644
@@ -1,6 +1,4 @@
 /* SPDX-License-Identifier: GPL-2.0-or-later */
-/*
- */
 #ifndef _ASM_POWERPC_SERIAL_H
 #define _ASM_POWERPC_SERIAL_H
 
@@ -18,4 +16,4 @@ extern void find_legacy_serial_ports(void);
 #define find_legacy_serial_ports()	do { } while (0)
 #endif
 
-#endif /* _PPC64_SERIAL_H */
+#endif /* _ASM_POWERPC_SERIAL_H */
Reviewed-by on v1 1/1
#1 lore raw
Quoted 20 lines · Thorsten Blum

Replace _PPC64_SERIAL_H with _ASM_POWERPC_SERIAL_H to match the actual macro name. Remove an empty comment while at it.

---
 arch/powerpc/include/asm/serial.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
arch/powerpc/include/asm/serial.h +0 -2
index cd6c18d0e66e..c3eb4a64b3f5 100644
@@ -1,6 +1,4 @@
 /* SPDX-License-Identifier: GPL-2.0-or-later */
-/*
- */
 #ifndef _ASM_POWERPC_SERIAL_H
 #define _ASM_POWERPC_SERIAL_H
 

arch/powerpc/include/asm/serial.h extern void find_legacy_serial_ports(void); · line 19

Quoted 5 lines
arch/powerpc/include/asm/serial.h +1 -1
@@ -18,4 +16,4 @@ extern void find_legacy_serial_ports(void);
 #define find_legacy_serial_ports()	do { } while (0)
 #endif
 
-#endif /* _PPC64_SERIAL_H */
+#endif /* _ASM_POWERPC_SERIAL_H */

LGTM