summaryrefslogtreecommitdiff
path: root/drivers/char/hvc_rtas.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-07-21 18:31:28 +0400
committerPaul Mackerras <paulus@samba.org>2007-07-22 15:30:59 +0400
commita6dfe1dc074cc2218b2e32f67ce3a1ed4f89b200 (patch)
treee9bfd9c346f42d316ff62105d8159c732c82fd41 /drivers/char/hvc_rtas.c
parent51d261122d0ffac8cf91cc6e74ffcfea23faeb1c (diff)
downloadlinux-a6dfe1dc074cc2218b2e32f67ce3a1ed4f89b200.tar.xz
[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>
Diffstat (limited to 'drivers/char/hvc_rtas.c')
-rw-r--r--drivers/char/hvc_rtas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hvc_rtas.c b/drivers/char/hvc_rtas.c
index 4b97eaf18602..bb09413d5a21 100644
--- a/drivers/char/hvc_rtas.c
+++ b/drivers/char/hvc_rtas.c
@@ -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)