[PATCH 2/2] m68k/serial: Add include guard to asm/serial.h

From: Thorsten Blum

Date: Fri Jul 31 2026 - 05:49:54 EST


Add an include guard and remove the stale comment while at it.

Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
---
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 <asm-generic/serial.h>

@@ -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 */