Commit 1407b3d1 authored by Adrian Bunk's avatar Adrian Bunk Committed by Paul Mackerras

[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: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 16e543ff
...@@ -76,7 +76,7 @@ static struct hv_ops hvc_rtas_get_put_ops = { ...@@ -76,7 +76,7 @@ static struct hv_ops hvc_rtas_get_put_ops = {
.put_chars = hvc_rtas_write_console, .put_chars = hvc_rtas_write_console,
}; };
static int hvc_rtas_init(void) static int __init hvc_rtas_init(void)
{ {
struct hvc_struct *hp; struct hvc_struct *hp;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment