Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19972670 authored by Dmitri Vorobiev's avatar Dmitri Vorobiev Committed by Ralf Baechle
Browse files

[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: default avatarDmitri Vorobiev <dmitri.vorobiev@gmail.com>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent f8071496
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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
+0 −2
Original line number Diff line number Diff line
@@ -35,8 +35,6 @@
#include <linux/console.h>
#endif

extern void mips_reboot_setup(void);

#ifdef CONFIG_KGDB
extern void kgdb_config(void);
#endif
+0 −2
Original line number Diff line number Diff line
@@ -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)
+2 −0
Original line number Diff line number Diff line
@@ -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