aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/hvc_rtas.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-02-13 16:30:57 -0500
committerPaul Mackerras <paulus@samba.org>2008-02-14 06:11:02 -0500
commit1407b3d15694ba6d014ef7f48895169f49a6a02b (patch)
tree5d982144e7fe1c6651968fef8bdff0ba2ce91d2b /drivers/char/hvc_rtas.c
parent16e543ffa853c8e1de5e1e2bcec0ef9f0b9386fa (diff)
[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>
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 bb09413d5a21..88590d040046 100644
--- a/drivers/char/hvc_rtas.c
+++ b/drivers/char/hvc_rtas.c
@@ -76,7 +76,7 @@ static struct hv_ops hvc_rtas_get_put_ops = {
76 .put_chars = hvc_rtas_write_console, 76 .put_chars = hvc_rtas_write_console,
77}; 77};
78 78
79static int hvc_rtas_init(void) 79static int __init hvc_rtas_init(void)
80{ 80{
81 struct hvc_struct *hp; 81 struct hvc_struct *hp;
82 82