linux_dsm_epyc7002/drivers/of
Grant Likely eca3930163 of: Merge of_platform_bus_type with platform_bus_type
of_platform_bus was being used in the same manner as the platform_bus.
The only difference being that of_platform_bus devices are generated
from data in the device tree, and platform_bus devices are usually
statically allocated in platform code.  Having them separate causes
the problem of device drivers having to be registered twice if it
was possible for the same device to appear on either bus.

This patch removes of_platform_bus_type and registers all of_platform
bus devices and drivers on the platform bus instead.  A previous patch
made the of_device structure an alias for the platform_device structure,
and a shim is used to adapt of_platform_drivers to the platform bus.

After all of of_platform_bus drivers are converted to be normal platform
drivers, the shim code can be removed.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: David S. Miller <davem@davemloft.net>
2010-07-24 09:57:51 -06:00
..
address.c of: Use full node name in resource structures 2010-07-05 16:14:27 -06:00
base.c of: refactor of_modalias_node() and remove explicit match table. 2010-07-05 16:14:52 -06:00
device.c of: Merge of_platform_bus_type with platform_bus_type 2010-07-24 09:57:51 -06:00
fdt.c of/flattree: Use common ALIGN() macro instead of arch specific _ALIGN 2010-07-14 23:55:23 -06:00
gpio.c of/gpio: fix of_gpio includes 2010-07-05 16:14:44 -06:00
irq.c of: Use full node name in resource structures 2010-07-05 16:14:27 -06:00
Kconfig proc: unify PROC_DEVICETREE config 2010-07-05 16:46:43 -06:00
Makefile of/address: merge of_iomap() 2010-07-05 16:14:26 -06:00
of_i2c.c of/i2c: Generalize OF support 2010-07-05 16:14:52 -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_spi.c of/irq: Move irq_of_parse_and_map() to common code 2010-06-28 12:41:33 -07:00
platform.c of: Merge of_platform_bus_type with platform_bus_type 2010-07-24 09:57:51 -06:00