mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-30 12:13:51 -04:00
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
This commit is contained in:
committed by
Madhavan Srinivasan
parent
3b232a0cce
commit
be57ed7694
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user