powerpc/serial: Fix include guard comment
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.
Signed-off-by Thorsten Blum <[email protected]>
--- arch/powerpc/include/asm/serial.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
arch/powerpc/include/asm/serial.h +1 -3
@@ -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 */
Quoted 20 lines · Thorsten Blum
Replace
_PPC64_SERIAL_Hwith_ASM_POWERPC_SERIAL_Hto match the actual macro name. Remove an empty comment while at it.Signed-off-by Thorsten Blum <[email protected]>--- arch/powerpc/include/asm/serial.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)arch/powerpc/include/asm/serial.h +0
-2@@ -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
Quoted 4 lines · Thorsten Blum
Replace
_PPC64_SERIAL_Hwith_ASM_POWERPC_SERIAL_Hto match the actual macro name. Remove an empty comment while at it.
Applied to powerpc/fixes.
[1/1] powerpc/serial: Fix include guard comment
https://git.kernel.org/powerpc/c/86f057c19fbe089ec8a2020ef5f1579b99d87ac7
cheers