From: David Daney Date: Tue, 26 Oct 2010 22:07:13 +0000 (-0700) Subject: of/net: Move of_get_mac_address() to a common source file. X-Git-Tag: v2.6.38-rc1~431^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b6ba8aacbb3185703b797286547d0f8f3859b02;p=pandora-kernel.git 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 [grant.likely@secretlab.ca: protect header with #ifdef] Signed-off-by: Grant Likely --- Reading git-diff-tree failed