提交 bbdda5e1 编写于 作者: D Dmitri Vorobiev 提交者: Ralf Baechle

[MIPS] Malta, Atlas: move an extern function declaration to the header file

This was compile-tested using default configs for the boards
affected by this change.

This patch does not introduce any functional changes.
Signed-off-by: NDmitri Vorobiev <dmitri.vorobiev@gmail.com>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 ae9cef0b
...@@ -34,10 +34,6 @@ ...@@ -34,10 +34,6 @@
#include <asm/time.h> #include <asm/time.h>
#include <asm/traps.h> #include <asm/traps.h>
#ifdef CONFIG_KGDB
extern void kgdb_config(void);
#endif
static void __init serial_init(void); static void __init serial_init(void);
const char *get_system_type(void) const char *get_system_type(void)
......
...@@ -35,10 +35,6 @@ ...@@ -35,10 +35,6 @@
#include <linux/console.h> #include <linux/console.h>
#endif #endif
#ifdef CONFIG_KGDB
extern void kgdb_config(void);
#endif
struct resource standard_io_resources[] = { struct resource standard_io_resources[] = {
{ {
.name = "dma1", .name = "dma1",
......
...@@ -105,4 +105,8 @@ extern void mips_pcibios_init(void); ...@@ -105,4 +105,8 @@ extern void mips_pcibios_init(void);
#define mips_pcibios_init() do { } while (0) #define mips_pcibios_init() do { } while (0)
#endif #endif
#ifdef CONFIG_KGDB
extern void kgdb_config(void);
#endif
#endif /* __ASM_MIPS_BOARDS_GENERIC_H */ #endif /* __ASM_MIPS_BOARDS_GENERIC_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册