mirror of https://gitee.com/openkylin/linux.git
4b6ba8aacb
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
fec.h | ||
fs_enet-main.c | ||
fs_enet.h | ||
mac-fcc.c | ||
mac-fec.c | ||
mac-scc.c | ||
mii-bitbang.c | ||
mii-fec.c |