Commit 1407b3d15694ba6d014ef7f48895169f49a6a02b

Authored by Adrian Bunk
Committed by Paul Mackerras
1 parent 16e543ffa8

[POWERPC] hvc_rtas_init() must be __init

This fixes the following section mismatch:

<--  snip  -->

...
WARNING: vmlinux.o(.text+0x2fbca8): Section mismatch in reference from the function .hvc_rtas_init() to the function .devinit.text:.hvc_alloc()
...

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@kernel.org>
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
... ... @@ -76,7 +76,7 @@
76 76 .put_chars = hvc_rtas_write_console,
77 77 };
78 78  
79   -static int hvc_rtas_init(void)
  79 +static int __init hvc_rtas_init(void)
80 80 {
81 81 struct hvc_struct *hp;
82 82