提交 a24ac9fb 编写于 作者: Y Yoichi Yuasa 提交者: Linus Torvalds

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: NYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 73dd1166
...@@ -782,7 +782,7 @@ static void siu_console_write(struct console *con, const char *s, unsigned count ...@@ -782,7 +782,7 @@ static void siu_console_write(struct console *con, const char *s, unsigned count
siu_write(port, UART_IER, ier); 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; struct uart_port *port;
int baud = 9600; int baud = 9600;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册