]> err.no Git - linux-2.6/commitdiff
[POWERPC] Quiet section mismatch in hvc_rtas.c
authorStephen Rothwell <sfr@canb.auug.org.au>
Sat, 21 Jul 2007 14:31:28 +0000 (00:31 +1000)
committerPaul Mackerras <paulus@samba.org>
Sun, 22 Jul 2007 11:30:59 +0000 (21:30 +1000)
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>
drivers/char/hvc_rtas.c

index 4b97eaf18602cbb4f139d5691c24e5a4aa5b1d71..bb09413d5a21ed5d09db2b1185c50141553ab0da 100644 (file)
@@ -115,7 +115,7 @@ static void __exit hvc_rtas_exit(void)
 module_exit(hvc_rtas_exit);
 
 /* 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");
        if (rtascons_put_char_token == RTAS_UNKNOWN_SERVICE)