mips: spram: fix missing prototype warning for spram_config
arch/mips/kernel/spram.c:194:6: error: no previous prototype for 'spram_config' [-Werror=missing-prototypes] Link: https://lkml.kernel.org/r/20231204115710.2247097-15-arnd@kernel.org Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Stephen Rothwell <sfr@rothwell.id.au> Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
7dc5b89251
commit
858c638c2f
@ -3,7 +3,7 @@
|
||||
#define _MIPS_SPRAM_H
|
||||
|
||||
#if defined(CONFIG_MIPS_SPRAM)
|
||||
extern __init void spram_config(void);
|
||||
extern void spram_config(void);
|
||||
#else
|
||||
static inline void spram_config(void) { }
|
||||
#endif /* CONFIG_MIPS_SPRAM */
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include <asm/mipsregs.h>
|
||||
#include <asm/r4kcache.h>
|
||||
#include <asm/hazards.h>
|
||||
#include <asm/spram.h>
|
||||
|
||||
/*
|
||||
* These definitions are correct for the 24K/34K/74K SPRAM sample
|
||||
|
Loading…
Reference in New Issue
Block a user