Skip to content

Commit

Permalink
[MIPS] make plat_perf_setup() static
Browse files Browse the repository at this point in the history
There is no need for the plat_perf_setup() function to be global,
so make it static.

Successfully build-tested using default configs for Malta, Atlas
and SEAD boards.

Runtime test successfully performed by booting the Malta 4Kc board
up to the shell prompt.

Signed-off-by: Dmitri Vorobiev <[email protected]>
Signed-off-by: Ralf Baechle <[email protected]>
  • Loading branch information
dmvo authored and ralfbaechle committed Apr 28, 2008
1 parent ddaf574 commit b31dc3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/mips-boards/generic/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ unsigned long read_persistent_clock(void)
return mc146818_get_cmos_time();
}

void __init plat_perf_setup(void)
static void __init plat_perf_setup(void)
{
#ifdef MSC01E_INT_BASE
if (cpu_has_veic) {
Expand Down

0 comments on commit b31dc3c

Please sign in to comment.