[PATCH] no __init in serial/8250.c?

From: Andries Brouwer
Date: Sat Nov 13 2004 - 20:41:48 EST


Referenced in non-init context.

diff -uprN -X /linux/dontdiff a/drivers/serial/8250.c b/drivers/serial/8250.c
--- a/drivers/serial/8250.c 2004-10-30 21:44:01.000000000 +0200
+++ b/drivers/serial/8250.c 2004-11-14 01:43:56.000000000 +0100
@@ -1965,7 +1965,7 @@ serial8250_console_write(struct console
serial_out(up, UART_IER, ier);
}

-static int __init serial8250_console_setup(struct console *co, char *options)
+static int serial8250_console_setup(struct console *co, char *options)
{
struct uart_port *port;
int baud = 9600;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/