Commit 6ccab43b authored by Dmitri Vorobiev's avatar Dmitri Vorobiev Committed by Ralf Baechle

[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: default avatarDmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 7afed6a6
...@@ -400,7 +400,7 @@ static struct gic_intr_map gic_intr_map[] = { ...@@ -400,7 +400,7 @@ static struct gic_intr_map gic_intr_map[] = {
/* /*
* GCMP needs to be detected before any SMP initialisation * 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) if (gcmp_present >= 0)
return gcmp_present; return gcmp_present;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment