diff options
author | Dmitri Vorobiev <dmitri.vorobiev@gmail.com> | 2008-03-31 18:03:23 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-04-28 12:14:28 -0400 |
commit | b31dc3c4ff530923e471a66a8ad20801326e3951 (patch) | |
tree | dd15fcfe15a877b684324f33657fbe19a4188428 /arch/mips | |
parent | ddaf5740b9e822d3650a19ab9757b49ddf5c95de (diff) |
[MIPS] make plat_perf_setup() static
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 <dmitri.vorobiev@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/mips-boards/generic/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mips-boards/generic/time.c b/arch/mips/mips-boards/generic/time.c index 4fe62fca994e..008fd82b5840 100644 --- a/arch/mips/mips-boards/generic/time.c +++ b/arch/mips/mips-boards/generic/time.c | |||
@@ -147,7 +147,7 @@ unsigned long read_persistent_clock(void) | |||
147 | return mc146818_get_cmos_time(); | 147 | return mc146818_get_cmos_time(); |
148 | } | 148 | } |
149 | 149 | ||
150 | void __init plat_perf_setup(void) | 150 | static void __init plat_perf_setup(void) |
151 | { | 151 | { |
152 | #ifdef MSC01E_INT_BASE | 152 | #ifdef MSC01E_INT_BASE |
153 | if (cpu_has_veic) { | 153 | if (cpu_has_veic) { |