]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] Malta, Atlas: move an extern function declaration to the header file
authorDmitri Vorobiev <dmitri.vorobiev@gmail.com>
Thu, 24 Jan 2008 16:52:53 +0000 (19:52 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 29 Jan 2008 10:15:05 +0000 (10:15 +0000)
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>
arch/mips/mips-boards/atlas/atlas_setup.c
arch/mips/mips-boards/malta/malta_setup.c
include/asm-mips/mips-boards/generic.h

index 5ce8004200126828c6ce689a3f119b8d9c1f319f..5c500802271e78298866f8e58146239f2a3fbcd2 100644 (file)
 #include <asm/time.h>
 #include <asm/traps.h>
 
-#ifdef CONFIG_KGDB
-extern void kgdb_config(void);
-#endif
-
 static void __init serial_init(void);
 
 const char *get_system_type(void)
index 3e2de0b8e2cf672bc1ecef56dd1e8055cf862e0c..8dacb6adb6db816abaa7a981312eddce0a2f68cf 100644 (file)
 #include <linux/console.h>
 #endif
 
-#ifdef CONFIG_KGDB
-extern void kgdb_config(void);
-#endif
-
 struct resource standard_io_resources[] = {
        {
                .name = "dma1",
index 2ca6bda37d1c552d030fc5a455cea27bc248e723..1c39d339521e8220fd6bbb16fc29e26f49717705 100644 (file)
@@ -105,4 +105,8 @@ extern void mips_pcibios_init(void);
 #define mips_pcibios_init() do { } while (0)
 #endif
 
+#ifdef CONFIG_KGDB
+extern void kgdb_config(void);
+#endif
+
 #endif  /* __ASM_MIPS_BOARDS_GENERIC_H */