summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorIshizaki Kou <kou.ishizaki@toshiba.co.jp>2007-07-26 10:06:08 (GMT)
committerPaul Mackerras <paulus@samba.org>2007-08-17 01:01:50 (GMT)
commit301d9cb80b4f64ba24d4b141ad3ca58165a29afb (patch)
tree1e0b098c9d4a88339785979bf8fed5248261b402 /drivers/char
parenta4ebd0174724193cbabf989352702ff37b1eb060 (diff)
downloadlinux-301d9cb80b4f64ba24d4b141ad3ca58165a29afb.tar.xz
[POWERPC] Init markings for hvc_beat
Fix warnings about section mismatch. Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/hvc_beat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/hvc_beat.c b/drivers/char/hvc_beat.c
index 6f019f1..e74bb94 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;