treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / powerpc / include / asm / serial.h
blobcd6c18d0e66e1311f601c85692c506e01c43c5d7
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 */
4 #ifndef _ASM_POWERPC_SERIAL_H
5 #define _ASM_POWERPC_SERIAL_H
7 /*
8 * Serial ports are not listed here, because they are discovered
9 * through the device tree.
12 /* Default baud base if not found in device-tree */
13 #define BASE_BAUD ( 1843200 / 16 )
15 #ifdef CONFIG_PPC_UDBG_16550
16 extern void find_legacy_serial_ports(void);
17 #else
18 #define find_legacy_serial_ports() do { } while (0)
19 #endif
21 #endif /* _PPC64_SERIAL_H */