Skip to content

Commit

Permalink
[POWERPC] Quiet section mismatch in hvc_rtas.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Jul 22, 2007
1 parent 51d2611 commit a6dfe1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/hvc_rtas.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a6dfe1d

Please sign in to comment.