| To: | ralf@linux-mips.org, linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH 4/5] [MIPS] Make gcmp_probe() static |
| From: | Dmitri Vorobiev <dmitri.vorobiev@movial.fi> |
| Date: | Wed, 18 Jun 2008 10:18:22 +0300 |
| In-reply-to: | <1213773503-23536-1-git-send-email-dmitri.vorobiev@movial.fi> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <1213773503-23536-1-git-send-email-dmitri.vorobiev@movial.fi> |
| Sender: | linux-mips-bounce@linux-mips.org |
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>
---
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 b393982..ea17611 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[] = {
/*
* 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;
--
1.5.5.GIT
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 2/5] [MIPS] Namespace clean-up in arch/mips/pci/pci.c, Dmitri Vorobiev |
|---|---|
| Next by Date: | [PATCH 0/5] [MIPS] Another round of nitpicking, Dmitri Vorobiev |
| Previous by Thread: | [PATCH 2/5] [MIPS] Namespace clean-up in arch/mips/pci/pci.c, Dmitri Vorobiev |
| Next by Thread: | [PATCH 1/5] [MIPS] 8253: make the pit_clockevent variable static, Dmitri Vorobiev |
| Indexes: | [Date] [Thread] [Top] [All Lists] |