Skip to content
Snippets Groups Projects
Commit 4b6ba8aa authored by David Daney's avatar David Daney Committed by Grant Likely
Browse files

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: default avatarDavid Daney <ddaney@caviumnetworks.com>
[grant.likely@secretlab.ca: protect header with #ifdef]
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 3985c7ce
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment