Skip to content

Commit

Permalink
[POWERPC] Init markings for hvc_beat
Browse files Browse the repository at this point in the history
Fix warnings about section mismatch.

Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Ishizaki Kou authored and Paul Mackerras committed Aug 17, 2007
1 parent a4ebd01 commit 301d9cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/char/hvc_beat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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;

Expand Down

0 comments on commit 301d9cb

Please sign in to comment.