aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2006-02-24 16:01:07 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-24 16:01:07 -0800
commit5c1ca65c93503b2c94359ba39640f9687bd192a3 (patch)
tree74dfbe4da8d39e302ae343379e20585ffee4b940 /drivers
parentc946160e601c70a0ae0aa807461dd0232bcaf3a7 (diff)
parentd856c66618f953fc3cd1e613226d5f098ad322c8 (diff)
downloadlinux-5c1ca65c93503b2c94359ba39640f9687bd192a3.tar.gz
Merge master.kernel.org:/home/rmk/linux-2.6-serial
Diffstat (limited to 'drivers')
-rw-r--r--drivers/serial/8250.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c
index 244e8ff119777d..7aca22c9976d0f 100644
--- a/drivers/serial/8250.c
+++ b/drivers/serial/8250.c
@@ -2326,6 +2326,12 @@ static struct uart_driver serial8250_reg = {
.cons = SERIAL8250_CONSOLE,
};
+/*
+ * early_serial_setup - early registration for 8250 ports
+ *
+ * Setup an 8250 port structure prior to console initialisation. Use
+ * after console initialisation will cause undefined behaviour.
+ */
int __init early_serial_setup(struct uart_port *port)
{
if (port->line >= ARRAY_SIZE(serial8250_ports))