From daf59a78072d36e449b3f78c70c971f00f87fe29 Mon Sep 17 00:00:00 2001 From: Thorsten Blum Date: Fri, 31 Jul 2026 11:44:01 +0200 Subject: [PATCH] m68k: Add include guard to asm/serial.h Add an include guard and remove the stale comment while at it. Signed-off-by: Thorsten Blum Reviewed-by: Geert Uytterhoeven Link: https://patch.msgid.link/20260731094402.741645-4-thorsten.blum@linux.dev Signed-off-by: Geert Uytterhoeven --- arch/m68k/include/asm/serial.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/arch/m68k/include/asm/serial.h b/arch/m68k/include/asm/serial.h index e215b48975d5..866ef25a74a2 100644 --- a/arch/m68k/include/asm/serial.h +++ b/arch/m68k/include/asm/serial.h @@ -1,11 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0 */ -/* - * include/asm-m68k/serial.h - * - * currently this seems useful only for a Q40, - * it's an almost exact copy of ../asm-alpha/serial.h - * - */ +#ifndef _ASM_M68K_SERIAL_H +#define _ASM_M68K_SERIAL_H #include @@ -26,3 +21,5 @@ { 0, BASE_BAUD, 0x3E8, 4, STD_COM_FLAGS }, /* ttyS2 */ \ { 0, BASE_BAUD, 0x2E8, 3, STD_COM4_FLAGS }, /* ttyS3 */ #endif + +#endif /* _ASM_M68K_SERIAL_H */