OpenCloudOS-Kernel/drivers/of
David Daney 4b6ba8aacb 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>
2010-11-01 01:08:14 -04:00
..
Kconfig of/net: Move of_get_mac_address() to a common source file. 2010-11-01 01:08:14 -04:00
Makefile of/net: Move of_get_mac_address() to a common source file. 2010-11-01 01:08:14 -04:00
address.c of: use __be32 types for big-endian device tree data 2010-10-12 21:58:42 -06:00
base.c of: use __be32 types for big-endian device tree data 2010-10-12 21:58:42 -06:00
device.c of/device: Rework to use common platform_device_alloc() for allocating devices 2010-10-21 11:10:10 -06:00
fdt.c of/flattree: Eliminate need to provide early_init_dt_scan_chosen_arch 2010-10-21 11:10:10 -06:00
gpio.c of/gpio: fix of_gpio includes 2010-07-05 16:14:44 -06:00
irq.c of/irq: remove references to NO_IRQ in drivers/of/platform.c 2010-10-12 21:58:27 -06:00
of_i2c.c of/mips: Cleanup some include directives/files. 2010-10-21 11:10:11 -06:00
of_mdio.c of/irq: Move irq_of_parse_and_map() to common code 2010-06-28 12:41:33 -07:00
of_net.c of/net: Move of_get_mac_address() to a common source file. 2010-11-01 01:08:14 -04:00
of_spi.c of/spi: call of_register_spi_devices() from spi core code 2010-07-30 00:03:59 -06:00
pdt.c of/promtree: add package-to-path support to pdt 2010-10-12 21:58:08 -06:00
platform.c of/device: Rework to use common platform_device_alloc() for allocating devices 2010-10-21 11:10:10 -06:00