Skip to content

Commit

Permalink
[MIPS] Malta, Atlas: move an extern function declaration to the heade…
Browse files Browse the repository at this point in the history
…r 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 <[email protected]>
Signed-off-by: Ralf Baechle <[email protected]>
  • Loading branch information
dmvo authored and ralfbaechle committed Jan 29, 2008
1 parent ae9cef0 commit bbdda5e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 0 additions & 4 deletions arch/mips/mips-boards/atlas/atlas_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@
#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)
Expand Down
4 changes: 0 additions & 4 deletions arch/mips/mips-boards/malta/malta_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@
#include <linux/console.h>
#endif

#ifdef CONFIG_KGDB
extern void kgdb_config(void);
#endif

struct resource standard_io_resources[] = {
{
.name = "dma1",
Expand Down
4 changes: 4 additions & 0 deletions include/asm-mips/mips-boards/generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit bbdda5e

Please sign in to comment.