of_platform_bus_probe — Probe the device-tree for platform buses
int of_platform_bus_probe ( | struct device_node * root, |
const struct of_device_id * matches, | |
struct device * parent) ; |
root
Pointer to parent of the first level to probe
matches
Pointer to match table for bus nodes
parent
Pointer to parent to hook devices from, NULL for toplevel
If root
is NULL, then root
is the root of the tree.
If root
has a match in matches
, create root
and it's children.
Otherwise, for each child of root
that has a match in matches
, create
that child and it's children.
Note that children of the provided root are not instantiated as devices unless the specified root itself matches the bus list and is not NULL.