commit | 4b6ba8aacbb3185703b797286547d0f8f3859b02 | [log] [tgz] |
---|---|---|
author | David Daney <ddaney@caviumnetworks.com> | Tue Oct 26 15:07:13 2010 -0700 |
committer | Grant Likely <grant.likely@secretlab.ca> | Mon Nov 01 01:08:14 2010 -0400 |
tree | f4e04c3b19d6bf7c7429c0cf678c534838e2990d | |
parent | 3985c7ce85039adacdf882904ca096f091d39346 [diff] |
of/net: Move of_get_mac_address() to a common source file. There are two identical implementations of of_get_mac_address(), one each in arch/powerpc/kernel/prom_parse.c and arch/microblaze/kernel/prom_parse.c. Move this function to a new common file of_net.{c,h} and adjust all the callers to include the new header. Signed-off-by: David Daney <ddaney@caviumnetworks.com> [grant.likely@secretlab.ca: protect header with #ifdef] Signed-off-by: Grant Likely <grant.likely@secretlab.ca>