]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] Make gcmp_probe() static
authorDmitri Vorobiev <dmitri.vorobiev@movial.fi>
Wed, 18 Jun 2008 07:18:22 +0000 (10:18 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 15 Jul 2008 17:44:31 +0000 (18:44 +0100)
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>
arch/mips/mips-boards/malta/malta_int.c

index b393982c0cc05f2b53becb7a082f4bec168d5dc2..ea176113fea9b46b7b2aafeadc57ce2757f13d34 100644 (file)
@@ -400,7 +400,7 @@ static struct gic_intr_map gic_intr_map[] = {
 /*
  * GCMP needs to be detected before any SMP initialisation
  */
-int __init gcmp_probe(unsigned long addr, unsigned long size)
+static int __init gcmp_probe(unsigned long addr, unsigned long size)
 {
        if (gcmp_present >= 0)
                return gcmp_present;