dt: add of_platform_populate() for creating device from the device tree
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 21 Jun 2011 16:59:34 +0000 (10:59 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 21 Jun 2011 17:02:29 +0000 (11:02 -0600)
commit29d4f8a4974aacf46b028fa92f9dd3ffdba3e614
tree35641937ac753b8b5d0255ef9ef312024e09a785
parentcbb49c2665eebfd1fa2e491403684d0542662137
dt: add of_platform_populate() for creating device from the device tree

of_platform_populate() is similar to of_platform_bus_probe() except
that it strictly enforces that all device nodes must have a compatible
property, and it can be used to register devices (not buses) which are
children of the root node.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/of/platform.c
include/linux/of_platform.h