Name
of_pci_parse_bus_range —
Parse the bus-range property of a PCI device
Synopsis
int of_pci_parse_bus_range ( | struct device_node * node, |
| struct resource * res) ; |
Arguments
node
Pointer to device tree node
res
Pointer to a structure used to return the bus-range values
Description
Construct a resource from property “bus-range” contained by node
.
Return
0
on success, else -EINVAL
on error.