From: Dmitri Vorobiev Date: Mon, 31 Mar 2008 22:03:23 +0000 (+0400) Subject: [MIPS] make plat_perf_setup() static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b31dc3c4ff530923e471a66a8ad20801326e3951;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [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 Signed-off-by: Ralf Baechle --- 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) 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) {