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>
This commit is contained in:
Chris Dearman
2009-07-10 01:51:27 -07:00
committed by Ralf Baechle
parent a4e7cac18f
commit a074f0e89f
3 changed files with 12 additions and 10 deletions

View File

@@ -0,0 +1,10 @@
#ifndef _MIPS_SPRAM_H
#define _MIPS_SPRAM_H
#ifdef CONFIG_CPU_MIPSR2
extern __init void spram_config(void);
#else
static inline void spram_config(void) { };
#endif /* CONFIG_CPU_MIPSR2 */
#endif /* _MIPS_SPRAM_H */