Skip to content

Commit

Permalink
[MIPS] A struct console.setup function may not be __init.
Browse files Browse the repository at this point in the history
    
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Mar 9, 2006
1 parent cf028d1 commit cec2f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/arc/arc_con.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ static void prom_console_write(struct console *co, const char *s,
}
}

static int __init prom_console_setup(struct console *co, char *options)
static int prom_console_setup(struct console *co, char *options)
{
return !(prom_flags & PROM_FLAG_USE_AS_CONSOLE);
}
Expand Down

0 comments on commit cec2f0c

Please sign in to comment.