diff options
author | Paul Mackerras <paulus@samba.org> | 2006-02-28 16:35:24 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-02-28 16:35:24 +1100 |
commit | 6749c5507388f3fc3719f57a54b540ee83f6661a (patch) | |
tree | c069f990f86b020a14b50759d0c75475eedde186 /drivers/serial/8250.c | |
parent | 2cf82c0256b198ae28c465f2c4d7c12c836ea5ea (diff) | |
parent | 56ec6462af9cba56a04439154e5768672d6f390f (diff) | |
download | op-kernel-dev-6749c5507388f3fc3719f57a54b540ee83f6661a.zip op-kernel-dev-6749c5507388f3fc3719f57a54b540ee83f6661a.tar.gz |
Merge ../powerpc-merge
Diffstat (limited to 'drivers/serial/8250.c')
-rw-r--r-- | drivers/serial/8250.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c index 244e8ff..7aca22c 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)) |