Commit a6dfe1dc074cc2218b2e32f67ce3a1ed4f89b200

Authored by Stephen Rothwell
Committed by Paul Mackerras
1 parent 51d261122d

[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: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/char/hvc_rtas.c
... ... @@ -115,7 +115,7 @@
115 115 module_exit(hvc_rtas_exit);
116 116  
117 117 /* This will happen prior to module init. There is no tty at this time? */
118   -static int hvc_rtas_console_init(void)
  118 +static int __init hvc_rtas_console_init(void)
119 119 {
120 120 rtascons_put_char_token = rtas_token("put-term-char");
121 121 if (rtascons_put_char_token == RTAS_UNKNOWN_SERVICE)