PCI: iproc: Factor out memory-mapped config access address calculation
authorOza Pawandeep <oza.oza@broadcom.com>
Mon, 28 Aug 2017 21:43:24 +0000 (16:43 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 28 Aug 2017 21:43:24 +0000 (16:43 -0500)
commitd005045bcf4234cc537ee6138b91830e6e5019f0
tree45beebaae78da7ba2f7a976527c362dc41ef06cd
parent5bbe4397f4cff66cda0484f0f20fcf5cbb0930e5
PCI: iproc: Factor out memory-mapped config access address calculation

Factor out the address calculation for memory-mapped config accesses as a
separate function.  No functional change intended.

Signed-off-by: Oza Pawandeep <oza.oza@broadcom.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pcie-iproc.c