diff options
author | Dmitri Vorobiev <dmitri.vorobiev@gmail.com> | 2008-01-24 19:52:48 +0300 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-01-29 10:15:04 +0000 |
commit | 1997267072d6bfadb37d336779e6122c2d44343d (patch) | |
tree | 42d89cf3c681a2f53697c0b7dc7be6e95687365a /arch | |
parent | f80714966795ecfe6261509d0270d9761b07b462 (diff) |
[MIPS] Malta, Atlas, Sead: remove an extern from .c files
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/mips-boards/atlas/atlas_setup.c | 2 | ||||
-rw-r--r-- | arch/mips/mips-boards/malta/malta_setup.c | 2 | ||||
-rw-r--r-- | arch/mips/mips-boards/sead/sead_setup.c | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/arch/mips/mips-boards/atlas/atlas_setup.c b/arch/mips/mips-boards/atlas/atlas_setup.c index e405d112a06..5ce80042001 100644 --- a/arch/mips/mips-boards/atlas/atlas_setup.c +++ b/arch/mips/mips-boards/atlas/atlas_setup.c @@ -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 diff --git a/arch/mips/mips-boards/malta/malta_setup.c b/arch/mips/mips-boards/malta/malta_setup.c index 480521f05b8..e5ac079e47e 100644 --- a/arch/mips/mips-boards/malta/malta_setup.c +++ b/arch/mips/mips-boards/malta/malta_setup.c @@ -35,8 +35,6 @@ #include <linux/console.h> #endif -extern void mips_reboot_setup(void); - #ifdef CONFIG_KGDB extern void kgdb_config(void); #endif diff --git a/arch/mips/mips-boards/sead/sead_setup.c b/arch/mips/mips-boards/sead/sead_setup.c index 1fb61b85230..8aa8e5b7b07 100644 --- a/arch/mips/mips-boards/sead/sead_setup.c +++ b/arch/mips/mips-boards/sead/sead_setup.c @@ -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) |