summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/spram.c
diff options
context:
space:
mode:
authorChris Dearman <chris@mips.com>2009-07-10 01:51:27 -0700
committerRalf Baechle <ralf@linux-mips.org>2009-11-02 12:00:05 +0100
commita074f0e89faa8989bdbd6110785d2aafe7df5285 (patch)
tree8b2737e591a214834e79d3bcee8d5a652b49e2df /arch/mips/kernel/spram.c
parenta4e7cac18f074fa55142bc86cc35a74f3c6ea615 (diff)
downloadlinux-a074f0e89faa8989bdbd6110785d2aafe7df5285.tar.bz2
MIPS: SPRAM: Clean up support code a little
Signed-off-by: Chris Dearman <chris@mips.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/spram.c')
-rw-r--r--arch/mips/kernel/spram.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/mips/kernel/spram.c b/arch/mips/kernel/spram.c
index 71b47376cf71..1821d12a6410 100644
--- a/arch/mips/kernel/spram.c
+++ b/arch/mips/kernel/spram.c
@@ -13,7 +13,6 @@
#include <linux/ptrace.h>
#include <linux/stddef.h>
-#include <asm/cpu.h>
#include <asm/fpu.h>
#include <asm/mipsregs.h>
#include <asm/system.h>
@@ -198,8 +197,7 @@ static __cpuinit void probe_spram(char *type,
offset += 2 * SPRAM_TAG_STRIDE;
}
}
-
-__cpuinit void spram_config(void)
+void __cpuinit spram_config(void)
{
struct cpuinfo_mips *c = &current_cpu_data;
unsigned int config0;