From: Ishizaki Kou Date: Thu, 26 Jul 2007 10:06:08 +0000 (+1000) Subject: [POWERPC] Init markings for hvc_beat X-Git-Tag: v2.6.24-rc1~1450^2~386 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=301d9cb80b4f64ba24d4b141ad3ca58165a29afb;p=linux-2.6 [POWERPC] Init markings for hvc_beat Fix warnings about section mismatch. Signed-off-by: Kou Ishizaki Signed-off-by: Paul Mackerras --- diff --git a/drivers/char/hvc_beat.c b/drivers/char/hvc_beat.c index 6f019f19be..e74bb949c2 100644 --- a/drivers/char/hvc_beat.c +++ b/drivers/char/hvc_beat.c @@ -97,7 +97,7 @@ static int hvc_beat_config(char *p) return 0; } -static int hvc_beat_console_init(void) +static int __init hvc_beat_console_init(void) { if (hvc_beat_useit && machine_is_compatible("Beat")) { hvc_instantiate(0, 0, &hvc_beat_get_put_ops); @@ -106,7 +106,7 @@ static int hvc_beat_console_init(void) } /* temp */ -static int hvc_beat_init(void) +static int __init hvc_beat_init(void) { struct hvc_struct *hp;