]> err.no Git - linux-2.6/commitdiff
[MIPS] Malta, Atlas, Sead: remove an extern from .c files
authorDmitri Vorobiev <dmitri.vorobiev@gmail.com>
Thu, 24 Jan 2008 16:52:48 +0000 (19:52 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 29 Jan 2008 10:15:04 +0000 (10:15 +0000)
This patch moves the "extern" declaration for the function
mips_reboot_setup() from the board setup .c files to the
header file include/asm-mips/mips-boards/generic.h.

This fixes a warning produced by the checkpatch.pl script.

No functional changes introduced.

This was compile-tested by building the kernel for all
three boards affected by this change. All builds finished
successfully.

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
arch/mips/mips-boards/sead/sead_setup.c
include/asm-mips/mips-boards/generic.h

index e405d112a067ff5ada284169763c3434bde04de5..5ce8004200126828c6ce689a3f119b8d9c1f319f 100644 (file)
@@ -34,8 +34,6 @@
 #include <asm/time.h>
 #include <asm/traps.h>
 
-extern void mips_reboot_setup(void);
-
 #ifdef CONFIG_KGDB
 extern void kgdb_config(void);
 #endif
index 480521f05b8c0a32ab90e32e5444dd4454b76918..e5ac079e47e02bd07de17bf492f8e5fbaab7e70d 100644 (file)
@@ -35,8 +35,6 @@
 #include <linux/console.h>
 #endif
 
-extern void mips_reboot_setup(void);
-
 #ifdef CONFIG_KGDB
 extern void kgdb_config(void);
 #endif
index 1fb61b852304dbc7bbf7a553b4a00740495c2acd..8aa8e5b7b0742173077acbe2e1430e53924ce409 100644 (file)
@@ -34,8 +34,6 @@
 #include <asm/mips-boards/seadint.h>
 #include <asm/time.h>
 
-extern void mips_reboot_setup(void);
-
 static void __init serial_init(void);
 
 const char *get_system_type(void)
index d589774835342bbce39b8195d6f6c3b0085cbff9..2ca6bda37d1c552d030fc5a455cea27bc248e723 100644 (file)
@@ -97,6 +97,8 @@ extern int mips_revision_corid;
 
 extern int mips_revision_sconid;
 
+extern void mips_reboot_setup(void);
+
 #ifdef CONFIG_PCI
 extern void mips_pcibios_init(void);
 #else