diff options
author | Rob Herring <[email protected]> | 2020-07-21 20:25:13 -0600 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2020-08-04 16:36:30 +0100 |
commit | 669cbc708122fc7a02282058a09f096200cee090 (patch) | |
tree | 315d5fda2017bb9284de44cfcd4319f6e68cbe3e /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 4a957563fe0231e0b7764bbb35c135a468643d5f (diff) |
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 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions