diff options
author | Shawn Lin <shawn.lin@rock-chips.com> | 2017-05-03 22:24:48 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-07-02 19:45:55 -0400 |
commit | 7a1d3b8cb22cc9c4b5d4b5edf03095d466299700 (patch) | |
tree | 7803ed9e8b682c40d3875a9197ac6e44be4418da | |
parent | e47ced77837153bdc962bf6f988c5da51a438568 (diff) |
PCI: rockchip: Rename rockchip_cfg_atu() to rockchip_pcie_cfg_atu()
Rename rockchip_cfg_atu() to keep the name consistent with other functions
in pcie-rockchip.c.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
-rw-r--r-- | drivers/pci/host/pcie-rockchip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pci/host/pcie-rockchip.c b/drivers/pci/host/pcie-rockchip.c index 5e4f758044d4..8b22842ecff7 100644 --- a/drivers/pci/host/pcie-rockchip.c +++ b/drivers/pci/host/pcie-rockchip.c | |||
@@ -1156,7 +1156,7 @@ static int rockchip_pcie_prog_ib_atu(struct rockchip_pcie *rockchip, | |||
1156 | return 0; | 1156 | return 0; |
1157 | } | 1157 | } |
1158 | 1158 | ||
1159 | static int rockchip_cfg_atu(struct rockchip_pcie *rockchip) | 1159 | static int rockchip_pcie_cfg_atu(struct rockchip_pcie *rockchip) |
1160 | { | 1160 | { |
1161 | struct device *dev = rockchip->dev; | 1161 | struct device *dev = rockchip->dev; |
1162 | int offset; | 1162 | int offset; |
@@ -1279,7 +1279,7 @@ static int __maybe_unused rockchip_pcie_resume_noirq(struct device *dev) | |||
1279 | if (err) | 1279 | if (err) |
1280 | return err; | 1280 | return err; |
1281 | 1281 | ||
1282 | err = rockchip_cfg_atu(rockchip); | 1282 | err = rockchip_pcie_cfg_atu(rockchip); |
1283 | if (err) | 1283 | if (err) |
1284 | return err; | 1284 | return err; |
1285 | 1285 | ||
@@ -1399,7 +1399,7 @@ static int rockchip_pcie_probe(struct platform_device *pdev) | |||
1399 | } | 1399 | } |
1400 | } | 1400 | } |
1401 | 1401 | ||
1402 | err = rockchip_cfg_atu(rockchip); | 1402 | err = rockchip_pcie_cfg_atu(rockchip); |
1403 | if (err) | 1403 | if (err) |
1404 | goto err_free_res; | 1404 | goto err_free_res; |
1405 | 1405 | ||