diff options
author | Rob Herring <robh@kernel.org> | 2019-10-28 11:32:35 -0500 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2019-10-29 10:48:33 +0000 |
commit | e634e3e0b790789ee16f4df503ccab13f1169134 (patch) | |
tree | 67f6369fde2e0a87e18d0326ec4bce9531582fef /include/media | |
parent | 4e5be6f81be72c980580676e31c2b542c0267757 (diff) |
PCI: altera: Use pci_parse_request_of_pci_ranges()
Convert altera host bridge to use the common
pci_parse_request_of_pci_ranges().
There's no need to assign the resources to a temporary list first. Just
use bridge->windows directly and remove all the temporary list handling.
If an I/O range is present, then it will now be mapped. It's expected
that h/w which doesn't support I/O range will not define one.
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Andrew Murray <andrew.murray@arm.com>
Cc: Ley Foon Tan <lftan@altera.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: rfi@lists.rocketboards.org
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions