summaryrefslogtreecommitdiff
path: root/board/karo
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2011-09-06 09:05:42 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-30 22:01:00 +0200
commite6d9b9785cde08162afd68ef555dcef7d477e1be (patch)
tree0862dd9543d88b6be2333dea4eb8323d4ad050cc /board/karo
parentb6e6ebbf3d4a384a28915f085c20f6862c0aa37d (diff)
MX25: tx25: Avoid the usage of extern in C file
Avoid the usage of extern in C file as pointed out by checkpatch. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'board/karo')
-rw-r--r--board/karo/tx25/tx25.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/karo/tx25/tx25.c b/board/karo/tx25/tx25.c
index ce75468e384..307ffd0cbe5 100644
--- a/board/karo/tx25/tx25.c
+++ b/board/karo/tx25/tx25.c
@@ -29,6 +29,7 @@
#include <asm/arch/imx-regs.h>
#include <asm/arch/imx25-pinmux.h>
#include <asm/gpio.h>
+#include <asm/arch/sys_proto.h>
static void mdelay(int n)
{
@@ -142,8 +143,6 @@ void tx25_fec_init(void)
int board_init()
{
#ifdef CONFIG_MXC_UART
- extern void mx25_uart1_init_pins(void);
-
mx25_uart1_init_pins();
#endif
/* board id for linux */