diff options
author | Dmitri Vorobiev <dmitri.vorobiev@movial.fi> | 2008-06-18 03:18:22 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-15 13:44:31 -0400 |
commit | 6ccab43b49beced70d8663b47ab471c4a23cb580 (patch) | |
tree | ee3ecf48d39bfa2e9f13d4df9939e30808343a8d /arch | |
parent | 7afed6a6c92fadedde8474bbfd92d6debc5e23b0 (diff) |
[MIPS] Make gcmp_probe() static
The gcmp_probe() function is needlessly defined global, and
this patch makes it static.
Tested by booting a Malta 4Kc board up to the shell prompt.
Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/mips-boards/malta/malta_int.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mips-boards/malta/malta_int.c b/arch/mips/mips-boards/malta/malta_int.c index b393982c0cc0..ea176113fea9 100644 --- a/arch/mips/mips-boards/malta/malta_int.c +++ b/arch/mips/mips-boards/malta/malta_int.c | |||
@@ -400,7 +400,7 @@ static struct gic_intr_map gic_intr_map[] = { | |||
400 | /* | 400 | /* |
401 | * GCMP needs to be detected before any SMP initialisation | 401 | * GCMP needs to be detected before any SMP initialisation |
402 | */ | 402 | */ |
403 | int __init gcmp_probe(unsigned long addr, unsigned long size) | 403 | static int __init gcmp_probe(unsigned long addr, unsigned long size) |
404 | { | 404 | { |
405 | if (gcmp_present >= 0) | 405 | if (gcmp_present >= 0) |
406 | return gcmp_present; | 406 | return gcmp_present; |