[PATCH v3 7/7] PCI: brcmstb: Have .map_bus function names end with 'map_bus'
From: Jim Quinlan
Date: Mon Jul 25 2022 - 11:17:08 EST
Conform with other drivers' map_bus functions.
Signed-off-by: Jim Quinlan <jim2101024@xxxxxxxxx>
---
drivers/pci/controller/pcie-brcmstb.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/pci/controller/pcie-brcmstb.c b/drivers/pci/controller/pcie-brcmstb.c
index fc1d36f6094e..b40733dd253c 100644
--- a/drivers/pci/controller/pcie-brcmstb.c
+++ b/drivers/pci/controller/pcie-brcmstb.c
@@ -685,7 +685,7 @@ static bool brcm_pcie_link_up(struct brcm_pcie *pcie)
return dla && plu;
}
-static void __iomem *brcm_pcie_map_conf(struct pci_bus *bus, unsigned int devfn,
+static void __iomem *brcm_pcie_map_bus(struct pci_bus *bus, unsigned int devfn,
int where)
{
struct brcm_pcie *pcie = bus->sysdata;
@@ -706,7 +706,7 @@ static void __iomem *brcm_pcie_map_conf(struct pci_bus *bus, unsigned int devfn,
return base + PCIE_EXT_CFG_DATA + (where & 0xfff);
}
-static void __iomem *brcm_pcie_map_conf32(struct pci_bus *bus, unsigned int devfn,
+static void __iomem *brcm_pcie_map_bus32(struct pci_bus *bus, unsigned int devfn,
int where)
{
struct brcm_pcie *pcie = bus->sysdata;
@@ -1509,7 +1509,7 @@ static const struct of_device_id brcm_pcie_match[] = {
};
static struct pci_ops brcm_pcie_ops = {
- .map_bus = brcm_pcie_map_conf,
+ .map_bus = brcm_pcie_map_bus,
.read = pci_generic_config_read,
.write = pci_generic_config_write,
.add_bus = brcm_pcie_add_bus,
@@ -1517,7 +1517,7 @@ static struct pci_ops brcm_pcie_ops = {
};
static struct pci_ops brcm_pcie_ops32 = {
- .map_bus = brcm_pcie_map_conf32,
+ .map_bus = brcm_pcie_map_bus32,
.read = pci_generic_config_read32,
.write = pci_generic_config_write32,
.add_bus = brcm_pcie_add_bus,
--
2.17.1