aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf537/boards/stamp.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/mach-bf537/boards/stamp.c')
-rw-r--r--arch/blackfin/mach-bf537/boards/stamp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c
index d35f9628972c..90de2182c8d6 100644
--- a/arch/blackfin/mach-bf537/boards/stamp.c
+++ b/arch/blackfin/mach-bf537/boards/stamp.c
@@ -737,9 +737,9 @@ void native_machine_restart(char *cmd)
737 * Currently the MAC address is saved in Flash by U-Boot 737 * Currently the MAC address is saved in Flash by U-Boot
738 */ 738 */
739#define FLASH_MAC 0x203f0000 739#define FLASH_MAC 0x203f0000
740void get_bf537_ether_addr(char *addr) 740void bfin_get_ether_addr(char *addr)
741{ 741{
742 *(u32 *)(&(addr[0])) = bfin_read32(FLASH_MAC); 742 *(u32 *)(&(addr[0])) = bfin_read32(FLASH_MAC);
743 *(u16 *)(&(addr[4])) = bfin_read16(FLASH_MAC + 4); 743 *(u16 *)(&(addr[4])) = bfin_read16(FLASH_MAC + 4);
744} 744}
745EXPORT_SYMBOL(get_bf537_ether_addr); 745EXPORT_SYMBOL(bfin_get_ether_addr);