diff options
author | Dmitri Vorobiev <dmitri.vorobiev@gmail.com> | 2008-01-24 11:52:53 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-01-29 05:15:05 -0500 |
commit | bbdda5e1fe9c1a5b34a2b552910f5f4c0dc24485 (patch) | |
tree | a78542754115d4d40de321b187c15a192ff17e97 | |
parent | ae9cef0b7949c0d528962127f2bccf7c753949df (diff) |
[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: Dmitri Vorobiev <dmitri.vorobiev@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/mips-boards/atlas/atlas_setup.c | 4 | ||||
-rw-r--r-- | arch/mips/mips-boards/malta/malta_setup.c | 4 | ||||
-rw-r--r-- | include/asm-mips/mips-boards/generic.h | 4 |
3 files changed, 4 insertions, 8 deletions
diff --git a/arch/mips/mips-boards/atlas/atlas_setup.c b/arch/mips/mips-boards/atlas/atlas_setup.c index 5ce800420012..5c500802271e 100644 --- a/arch/mips/mips-boards/atlas/atlas_setup.c +++ b/arch/mips/mips-boards/atlas/atlas_setup.c | |||
@@ -34,10 +34,6 @@ | |||
34 | #include <asm/time.h> | 34 | #include <asm/time.h> |
35 | #include <asm/traps.h> | 35 | #include <asm/traps.h> |
36 | 36 | ||
37 | #ifdef CONFIG_KGDB | ||
38 | extern void kgdb_config(void); | ||
39 | #endif | ||
40 | |||
41 | static void __init serial_init(void); | 37 | static void __init serial_init(void); |
42 | 38 | ||
43 | const char *get_system_type(void) | 39 | const char *get_system_type(void) |
diff --git a/arch/mips/mips-boards/malta/malta_setup.c b/arch/mips/mips-boards/malta/malta_setup.c index 3e2de0b8e2cf..8dacb6adb6db 100644 --- a/arch/mips/mips-boards/malta/malta_setup.c +++ b/arch/mips/mips-boards/malta/malta_setup.c | |||
@@ -35,10 +35,6 @@ | |||
35 | #include <linux/console.h> | 35 | #include <linux/console.h> |
36 | #endif | 36 | #endif |
37 | 37 | ||
38 | #ifdef CONFIG_KGDB | ||
39 | extern void kgdb_config(void); | ||
40 | #endif | ||
41 | |||
42 | struct resource standard_io_resources[] = { | 38 | struct resource standard_io_resources[] = { |
43 | { | 39 | { |
44 | .name = "dma1", | 40 | .name = "dma1", |
diff --git a/include/asm-mips/mips-boards/generic.h b/include/asm-mips/mips-boards/generic.h index 2ca6bda37d1c..1c39d339521e 100644 --- a/include/asm-mips/mips-boards/generic.h +++ b/include/asm-mips/mips-boards/generic.h | |||
@@ -105,4 +105,8 @@ extern void mips_pcibios_init(void); | |||
105 | #define mips_pcibios_init() do { } while (0) | 105 | #define mips_pcibios_init() do { } while (0) |
106 | #endif | 106 | #endif |
107 | 107 | ||
108 | #ifdef CONFIG_KGDB | ||
109 | extern void kgdb_config(void); | ||
110 | #endif | ||
111 | |||
108 | #endif /* __ASM_MIPS_BOARDS_GENERIC_H */ | 112 | #endif /* __ASM_MIPS_BOARDS_GENERIC_H */ |