diff options
| author | Rob Herring <[email protected]> | 2020-07-22 02:25:13 +0000 |
|---|---|---|
| committer | Lorenzo Pieralisi <[email protected]> | 2020-08-04 15:36:30 +0000 |
| commit | 669cbc708122fc7a02282058a09f096200cee090 (patch) | |
| tree | 315d5fda2017bb9284de44cfcd4319f6e68cbe3e /drivers/pci/controller/pci-host-generic.c | |
| parent | PCI: rcar-gen2: Convert to use modern host bridge probe functions (diff) | |
| download | kernel-669cbc708122fc7a02282058a09f096200cee090.tar.gz kernel-669cbc708122fc7a02282058a09f096200cee090.zip | |
PCI: Move DT resource setup into devm_pci_alloc_host_bridge()
Now that pci_parse_request_of_pci_ranges() callers just setup
pci_host_bridge.windows and dma_ranges directly and don't need the bus
range returned, we can just initialize them when allocating the
pci_host_bridge struct.
With this, pci_parse_request_of_pci_ranges() becomes a static function.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rob Herring <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Acked-by: Bjorn Helgaas <[email protected]>
Cc: Lorenzo Pieralisi <[email protected]>
Cc: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-generic.c')
0 files changed, 0 insertions, 0 deletions
