Skip to content

Commit 1d97f4b

Browse files
committed
Merge branch 'pci/controller/dra7xx'
- Correct the dra7xx_pcie_cpu_addr_fixup() parameter name, which takes a CPU address but called it "pci_addr" (Niklas Cassel) * pci/controller/dra7xx: PCI: dra7xx: Fix dra7xx_pcie_cpu_addr_fixup() parameter name
2 parents 43f25ad + 045fda2 commit 1d97f4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/pci/controller/dwc/pci-dra7xx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ static inline void dra7xx_pcie_writel(struct dra7xx_pcie *pcie, u32 offset,
113113
writel(value, pcie->base + offset);
114114
}
115115

116-
static u64 dra7xx_pcie_cpu_addr_fixup(struct dw_pcie *pci, u64 pci_addr)
116+
static u64 dra7xx_pcie_cpu_addr_fixup(struct dw_pcie *pci, u64 cpu_addr)
117117
{
118-
return pci_addr & DRA7XX_CPU_TO_BUS_ADDR;
118+
return cpu_addr & DRA7XX_CPU_TO_BUS_ADDR;
119119
}
120120

121121
static int dra7xx_pcie_link_up(struct dw_pcie *pci)

0 commit comments

Comments
 (0)