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>
|
||
|---|---|---|
| .. | ||
| fec.h | ||
| fs_enet-main.c | ||
| fs_enet.h | ||
| Kconfig | ||
| mac-fcc.c | ||
| mac-fec.c | ||
| mac-scc.c | ||
| Makefile | ||
| mii-bitbang.c | ||
| mii-fec.c | ||