[PATCH v9 09/12] OF: Introduce helper function for getting PCI domain_nr

2014-08-12 Thread Liviu Dudau
Add of_pci_get_domain_nr() to retrieve the PCI domain number of a given device from DT. If the information is not present, the function can be requested to allocate a new domain number. Cc: Bjorn Helgaas Cc: Arnd Bergmann Cc: Grant Likely Cc: Rob Herring Signed-off-by: Liviu Dudau ---

[PATCH v9 09/12] OF: Introduce helper function for getting PCI domain_nr

2014-08-12 Thread Liviu Dudau
Add of_pci_get_domain_nr() to retrieve the PCI domain number of a given device from DT. If the information is not present, the function can be requested to allocate a new domain number. Cc: Bjorn Helgaas bhelg...@google.com Cc: Arnd Bergmann a...@arndb.de Cc: Grant Likely grant.lik...@linaro.org