Skip to content
Commit a822d1de authored by Andrew Scull's avatar Andrew Scull Committed by Tom Rini
Browse files

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: default avatarAndrew Scull <ascull@google.com>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent 7739d93d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment