summaryrefslogtreecommitdiffstats
path: root/drivers/pci/host/pci-exynos.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-10-06 20:25:46 +0200
committerBjorn Helgaas <bhelgaas@google.com>2016-10-11 15:30:33 +0200
commitad8802189426cf7b3a2ad0444f71981fb81312a8 (patch)
tree524f4559a9f5c984a31bb977f5ab9e384586d57c /drivers/pci/host/pci-exynos.c
parentPCI: designware: Simplify pcie_host_ops.readl_rc() and .writel_rc() interfaces (diff)
downloadlinux-ad8802189426cf7b3a2ad0444f71981fb81312a8.tar.xz
linux-ad8802189426cf7b3a2ad0444f71981fb81312a8.zip
PCI: designware: Swap order of dw_pcie_writel_rc() reg/val arguments
Swap order of dw_pcie_writel_rc() arguments to match the "dev, pos, val" order used by pci_write_config_word() and other drivers. No functional change intended. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/host/pci-exynos.c')
-rw-r--r--drivers/pci/host/pci-exynos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-exynos.c b/drivers/pci/host/pci-exynos.c
index b29e9d64d41b..f559b494f300 100644
--- a/drivers/pci/host/pci-exynos.c
+++ b/drivers/pci/host/pci-exynos.c
@@ -435,7 +435,7 @@ static inline u32 exynos_pcie_readl_rc(struct pcie_port *pp, u32 reg)
return val;
}
-static inline void exynos_pcie_writel_rc(struct pcie_port *pp, u32 val, u32 reg)
+static inline void exynos_pcie_writel_rc(struct pcie_port *pp, u32 reg, u32 val)
{
exynos_pcie_sideband_dbi_w_mode(pp, true);
writel(val, pp->dbi_base + reg);