diff options
author | Mike Frysinger <michael.frysinger@analog.com> | 2007-11-15 21:21:20 +0800 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-11-15 21:21:20 +0800 |
commit | 9862cc5278aabd82230369a142c817e37a42caa3 (patch) | |
tree | f9ccb6f3dd824fd678448b286e48e74b175be620 /arch/blackfin/mach-bf527 | |
parent | 137b1529da492baa654c702ecb60bb950eccb98d (diff) |
Blackfin arch: change get_bf537_ether_addr() to bfin_get_ether_addr() since this is not BF537 specific and to better match other Blackfin-specific conventions
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/mach-bf527')
-rw-r--r-- | arch/blackfin/mach-bf527/boards/ezkit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/mach-bf527/boards/ezkit.c b/arch/blackfin/mach-bf527/boards/ezkit.c index 57407b95d53..14b39b23833 100644 --- a/arch/blackfin/mach-bf527/boards/ezkit.c +++ b/arch/blackfin/mach-bf527/boards/ezkit.c @@ -813,9 +813,9 @@ void native_machine_restart(char *cmd) * Currently the MAC address is saved in Flash by U-Boot */ #define FLASH_MAC 0x203f0000 -void get_bf537_ether_addr(char *addr) +void bfin_get_ether_addr(char *addr) { *(u32 *)(&(addr[0])) = bfin_read32(FLASH_MAC); *(u16 *)(&(addr[4])) = bfin_read16(FLASH_MAC + 4); } -EXPORT_SYMBOL(get_bf537_ether_addr); +EXPORT_SYMBOL(bfin_get_ether_addr); |