summaryrefslogtreecommitdiffstats
path: root/drivers/pci/host/pcie-designware.c
diff options
context:
space:
mode:
authorMinghuan Lian2014-09-23 16:28:58 +0200
committerBjorn Helgaas2014-09-24 15:04:39 +0200
commit450e344e421b9f555261a2d97952d9e71d4cb082 (patch)
tree134d3c093a24d70d64616a4429982ea20a60564a /drivers/pci/host/pcie-designware.c
parentPCI: designware: Fix IO resource end address calculation (diff)
downloadkernel-qcow2-linux-450e344e421b9f555261a2d97952d9e71d4cb082.tar.gz
kernel-qcow2-linux-450e344e421b9f555261a2d97952d9e71d4cb082.tar.xz
kernel-qcow2-linux-450e344e421b9f555261a2d97952d9e71d4cb082.zip
PCI: designware: Rename get_msi_data() to get_msi_addr()
The struct pcie_host_ops .get_msi_data() method returns the MSI message address. To accurately express its purpose, rename it to .get_msi_addr(). Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Mohit KUMAR <mohit.kumar@st.com>
Diffstat (limited to 'drivers/pci/host/pcie-designware.c')
-rw-r--r--drivers/pci/host/pcie-designware.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c
index 4d7cbd2975a5..566658750201 100644
--- a/drivers/pci/host/pcie-designware.c
+++ b/drivers/pci/host/pcie-designware.c
@@ -361,8 +361,8 @@ static int dw_msi_setup_irq(struct msi_chip *chip, struct pci_dev *pdev,
*/
desc->msi_attrib.multiple = msgvec;
- if (pp->ops->get_msi_data)
- msg.address_lo = pp->ops->get_msi_data(pp);
+ if (pp->ops->get_msi_addr)
+ msg.address_lo = pp->ops->get_msi_addr(pp);
else
msg.address_lo = virt_to_phys((void *)pp->msi_data);
msg.address_hi = 0x0;