提交 a6dfe1dc 编写于 作者: S Stephen Rothwell 提交者: Paul Mackerras

[POWERPC] Quiet section mismatch in hvc_rtas.c

WARNING: vmlinux.o(.text+0x2066f0): Section mismatch: reference to .init.text:.add_preferred_console (between '.hvc_rtas_console_init' and '.hvc_beat_put_chars')
Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 51d26112
...@@ -115,7 +115,7 @@ static void __exit hvc_rtas_exit(void) ...@@ -115,7 +115,7 @@ static void __exit hvc_rtas_exit(void)
module_exit(hvc_rtas_exit); module_exit(hvc_rtas_exit);
/* This will happen prior to module init. There is no tty at this time? */ /* This will happen prior to module init. There is no tty at this time? */
static int hvc_rtas_console_init(void) static int __init hvc_rtas_console_init(void)
{ {
rtascons_put_char_token = rtas_token("put-term-char"); rtascons_put_char_token = rtas_token("put-term-char");
if (rtascons_put_char_token == RTAS_UNKNOWN_SERVICE) if (rtascons_put_char_token == RTAS_UNKNOWN_SERVICE)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册