aboutsummaryrefslogtreecommitdiff
path: root/include/asm-powerpc/serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/serial.h')
-rw-r--r--include/asm-powerpc/serial.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-powerpc/serial.h b/include/asm-powerpc/serial.h
index b273d630b32..3e8589b43cb 100644
--- a/include/asm-powerpc/serial.h
+++ b/include/asm-powerpc/serial.h
@@ -15,4 +15,10 @@
/* Default baud base if not found in device-tree */
#define BASE_BAUD ( 1843200 / 16 )
+#ifdef CONFIG_PPC_UDBG_16550
+extern void find_legacy_serial_ports(void);
+#else
+#define find_legacy_serial_ports() do { } while (0)
+#endif
+
#endif /* _PPC64_SERIAL_H */