[PATCH v2] parisc: Use asm-generic/serial.h

From: Thorsten Blum

Date: Tue Aug 04 2026 - 12:35:45 EST


asm/serial.h only redefines BASE_BAUD with the same value as
asm-generic/serial.h. Select the generic header from Kbuild and remove
the arch-specific header.

Suggested-by: Helge Deller <deller@xxxxxx>
Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
---
Changes in v2:
- Delete the header and use Kbuild instead as suggested by Helge
- Reword subject and patch description
- v1: https://lore.kernel.org/r/20260804132051.104647-4-thorsten.blum@xxxxxxxxx/
---
arch/parisc/include/asm/Kbuild | 1 +
arch/parisc/include/asm/serial.h | 8 --------
2 files changed, 1 insertion(+), 8 deletions(-)
delete mode 100644 arch/parisc/include/asm/serial.h

diff --git a/arch/parisc/include/asm/Kbuild b/arch/parisc/include/asm/Kbuild
index d48d158f7241..4fc315085914 100644
--- a/arch/parisc/include/asm/Kbuild
+++ b/arch/parisc/include/asm/Kbuild
@@ -6,3 +6,4 @@ generic-y += kvm_para.h
generic-y += mcs_spinlock.h
generic-y += ring_buffer.h
generic-y += user.h
+generic-y += serial.h
diff --git a/arch/parisc/include/asm/serial.h b/arch/parisc/include/asm/serial.h
deleted file mode 100644
index 77e9b67c87ee..000000000000
--- a/arch/parisc/include/asm/serial.h
+++ /dev/null
@@ -1,8 +0,0 @@
-/*
- * include/asm-parisc/serial.h
- */
-
-/*
- * This is used for 16550-compatible UARTs
- */
-#define BASE_BAUD ( 1843200 / 16 )