ソースを参照

[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>
Dmitri Vorobiev 17 年 前
コミット
6ccab43b49
1 ファイル変更1 行追加1 行削除
  1. 1 1
      arch/mips/mips-boards/malta/malta_int.c

+ 1 - 1
arch/mips/mips-boards/malta/malta_int.c

@@ -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;