]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/karo/tx25/tx25.c
MX25: tx25: Avoid the usage of extern in C file
[karo-tx-uboot.git] / board / karo / tx25 / tx25.c
index ce75468e3844808a055467a7be2715147f4ff17d..307ffd0cbe5fbb34b088d3f0521aeff29ea4c7ac 100644 (file)
@@ -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 */