commit | 3e0f2fbe61d07ea2c4257bfde7992f380c981b16 | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Thu Apr 21 16:11:12 2022 +0000 |
committer | Tom Rini <trini@konsulko.com> | Tue May 03 18:33:29 2022 -0400 |
tree | 1e625e5b18c13d7357029a5675fc58613ceb237f | |
parent | 994b60d7531d4a027473aba9bb441d09fb3643e5 [diff] |
pci: Update dm_pci_bus_to_virt() parameters Add mask parameter and reorder length parameter to match the other PCI address conversion functions. Using PCI_REGION_TYPE as the mask gives the old behaviour. It's converted from a macro to an inline function as the length parameter is now used twice, but should only be calculated once. Signed-off-by: Andrew Scull <ascull@google.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>