diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-07-30 00:38:07 +0200 |
|---|---|---|
| committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2026-07-31 17:07:41 +0530 |
| commit | be57ed769406eb2cafd3b98f83ffebd5f703940f (patch) | |
| tree | fe9cdd08e981ae93e2d8066d5cfc48657dbde315 | |
| parent | 3b232a0cce4182851ee8f2788180c93e49d9ab96 (diff) | |
| download | linux-next-be57ed769406eb2cafd3b98f83ffebd5f703940f.tar.gz linux-next-be57ed769406eb2cafd3b98f83ffebd5f703940f.zip | |
powerpc/serial: Use generic BASE_BAUD in asm/serial.h
Include asm-generic/serial.h and use the generic BASE_BAUD definition
instead of redefining it.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Amit Machhiwal <amachhiw@linux.ibm.com>
Reviewed-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20260729223807.570178-3-thorsten.blum@linux.dev
| -rw-r--r-- | arch/powerpc/include/asm/serial.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/serial.h b/arch/powerpc/include/asm/serial.h index cd6c18d0e66e..eca0ef56f874 100644 --- a/arch/powerpc/include/asm/serial.h +++ b/arch/powerpc/include/asm/serial.h @@ -9,8 +9,8 @@ * through the device tree. */ -/* Default baud base if not found in device-tree */ -#define BASE_BAUD ( 1843200 / 16 ) +/* Provides BASE_BAUD, used as fallback if not found in device tree. */ +#include <asm-generic/serial.h> #ifdef CONFIG_PPC_UDBG_16550 extern void find_legacy_serial_ports(void); |
