From: Yoichi Yuasa Date: Tue, 31 Jul 2007 07:38:55 +0000 (-0700) Subject: serial: fix section mismatch vr41xx_siu X-Git-Tag: MMI-PSA29.97-13-9~40950 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a24ac9fba1d122ce2536d23b8f4c47a17b7d0627;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git serial: fix section mismatch vr41xx_siu Fix section mismatch vr41xx_siu. WARNING: drivers/built-in.o(.text+0x2ce4c): Section mismatch: reference to .init.text:uart_parse_options (between 'siu_console_setup' and 'siu_request_port') WARNING: drivers/built-in.o(.text+0x2ce70): Section mismatch: reference to .init.text:uart_set_options (between 'siu_console_setup' and 'siu_request_port') Signed-off-by: Yoichi Yuasa Cc: Ralf Baechle Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/serial/vr41xx_siu.c b/drivers/serial/vr41xx_siu.c index 85309acb75f6..aa382e2ea397 100644 --- a/drivers/serial/vr41xx_siu.c +++ b/drivers/serial/vr41xx_siu.c @@ -782,7 +782,7 @@ static void siu_console_write(struct console *con, const char *s, unsigned count siu_write(port, UART_IER, ier); } -static int siu_console_setup(struct console *con, char *options) +static int __init siu_console_setup(struct console *con, char *options) { struct uart_port *port; int baud = 9600;