FEC: Move imx_get_mac_from_fuse() definition to fec_mxc.h
authorMarek Vasut <marek.vasut@gmail.com>
Sun, 11 Sep 2011 18:05:39 +0000 (18:05 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 30 Sep 2011 20:01:03 +0000 (22:01 +0200)
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Ben Warren <biggerbadderben@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
arch/arm/include/asm/arch-mx25/imx-regs.h
arch/arm/include/asm/arch-mx27/imx-regs.h
arch/arm/include/asm/arch-mx35/imx-regs.h
arch/arm/include/asm/arch-mx5/imx-regs.h
drivers/net/fec_mxc.h

index 47fc5178159d4b607f6ae0d29b5c9236ea2dbbe4..eece138b457660dd9dafaaffbad88e5450bc4ec5 100644 (file)
@@ -36,7 +36,6 @@
 #ifndef __ASSEMBLY__
 #ifdef CONFIG_FEC_MXC
 extern void mx25_fec_init_pins(void);
-extern void imx_get_mac_from_fuse(unsigned char *mac);
 #endif
 
 /* Clock Control Module (CCM) registers */
index b4b2fe61a6ffa7a695f753e27ddb93fcd9cf7546..83ab216665c45138b9e170b4dfe0486f4b6a3596 100644 (file)
@@ -34,7 +34,6 @@ extern void mx27_uart1_init_pins(void);
 
 #ifdef CONFIG_FEC_MXC
 extern void mx27_fec_init_pins(void);
-extern void imx_get_mac_from_fuse(unsigned char *mac);
 #endif /* CONFIG_FEC_MXC */
 
 #ifdef CONFIG_MXC_MMC
index e741fb0bc68ec896d82ef0aa35eaeff174489797..0c566f27c28d38becc214f2975ed2216a3e5ac78 100644 (file)
 #if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))
 #include <asm/types.h>
 
-extern void imx_get_mac_from_fuse(unsigned char *mac);
-
 enum mxc_main_clocks {
        CPU_CLK,
        AHB_CLK,
index a4e680b8d3f7785802a58930ae97b85141b9b3ee..098c30090f449761fb64c757524f8ab6ecfea9fc 100644 (file)
 #if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))
 #include <asm/types.h>
 
-extern void imx_get_mac_from_fuse(unsigned char *mac);
-
 #define __REG(x)       (*((volatile u32 *)(x)))
 #define __REG16(x)     (*((volatile u16 *)(x)))
 #define __REG8(x)      (*((volatile u8 *)(x)))
index 1a203888bf16535e48c4e3a551d306c5abad2073..8b26645173e03d8c6d4f179cf0451a12fbd5dfce 100644 (file)
@@ -32,6 +32,8 @@
 #ifndef __FEC_MXC_H
 #define __FEC_MXC_H
 
+void imx_get_mac_from_fuse(unsigned char *mac);
+
 /**
  * Layout description of the FEC
  */