diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2024-07-19 17:10:27 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2024-07-19 17:10:27 +0200 |
commit | 1d97f4b215396f3501732ff09f311494db3fbdec (patch) | |
tree | 7e0484cb7a27deb545394ec413474d9ab2f79d28 /drivers/pci/controller/dwc | |
parent | Merge branch 'pci/controller/artpec6' (diff) | |
parent | PCI: dra7xx: Fix dra7xx_pcie_cpu_addr_fixup() parameter name (diff) | |
download | linux-1d97f4b215396f3501732ff09f311494db3fbdec.tar.xz linux-1d97f4b215396f3501732ff09f311494db3fbdec.zip |
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
Diffstat (limited to 'drivers/pci/controller/dwc')
-rw-r--r-- | drivers/pci/controller/dwc/pci-dra7xx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/controller/dwc/pci-dra7xx.c b/drivers/pci/controller/dwc/pci-dra7xx.c index 33ab081857e4..4fe3b0cb72ec 100644 --- a/drivers/pci/controller/dwc/pci-dra7xx.c +++ b/drivers/pci/controller/dwc/pci-dra7xx.c @@ -113,9 +113,9 @@ static inline void dra7xx_pcie_writel(struct dra7xx_pcie *pcie, u32 offset, writel(value, pcie->base + offset); } -static u64 dra7xx_pcie_cpu_addr_fixup(struct dw_pcie *pci, u64 pci_addr) +static u64 dra7xx_pcie_cpu_addr_fixup(struct dw_pcie *pci, u64 cpu_addr) { - return pci_addr & DRA7XX_CPU_TO_BUS_ADDR; + return cpu_addr & DRA7XX_CPU_TO_BUS_ADDR; } static int dra7xx_pcie_link_up(struct dw_pcie *pci) |