]> err.no Git - linux-2.6/commitdiff
[POWERPC] Init markings for hvc_beat
authorIshizaki Kou <kou.ishizaki@toshiba.co.jp>
Thu, 26 Jul 2007 10:06:08 +0000 (20:06 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 17 Aug 2007 01:01:50 +0000 (11:01 +1000)
Fix warnings about section mismatch.

Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/char/hvc_beat.c

index 6f019f19be71bcce0fe41d8bd95a20a67e173467..e74bb949c289b30e2d43d30e9a19b9583a359400 100644 (file)
@@ -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;