Commit-ID:  649953b5b89dc308747797810812747333d971cd
Gitweb:     http://git.kernel.org/tip/649953b5b89dc308747797810812747333d971cd
Author:     Jiang Liu <jiang....@linux.intel.com>
AuthorDate: Tue, 18 Aug 2015 23:45:55 +0800
Committer:  Thomas Gleixner <t...@linutronix.de>
CommitDate: Tue, 18 Aug 2015 18:07:20 +0200

PCI: xilinx: Fix typo in function name

There's a typo in commit e39758e0ea76 in linux-next, which incorrectly
spells "msi_desc_to_pci_sysdata()" as "msi_desc_to_pci_sys_data()" and
causes build failure:

> ../drivers/pci/host/pcie-xilinx.c:235:3: error: implicit declaration
    of function 'msi_desc_to_pci_sys_data' 
[-Werror=implicit-function-declaration]

Fixes: e39758e0ea76 "PCI: Use helper functions to access fields in struct 
msi_desc"
Signed-off-by: Jiang Liu <jiang....@linux.intel.com>
Cc: linux-arm-ker...@lists.infradead.org
Cc: Mark Brown <broo...@kernel.org>
Cc: Stephen Rothwell <s...@canb.auug.org.au>
Cc: Bjorn Helgaas <bhelg...@google.com>
Cc: Michal Simek <michal.si...@xilinx.com>
Cc: Sören Brinkmann <soren.brinkm...@xilinx.com>
Cc: Srikanth Thokala <stho...@xilinx.com>
Cc: Rob Herring <r...@kernel.org>
Cc: Yijing Wang <wangyij...@huawei.com>
Link: 
http://lkml.kernel.org/r/1439912763-10645-1-git-send-email-jiang....@linux.intel.com
Signed-off-by: Thomas Gleixner <t...@linutronix.de>
---
 drivers/pci/host/pcie-xilinx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pci/host/pcie-xilinx.c b/drivers/pci/host/pcie-xilinx.c
index 64454f4..be494e4 100644
--- a/drivers/pci/host/pcie-xilinx.c
+++ b/drivers/pci/host/pcie-xilinx.c
@@ -232,7 +232,7 @@ static void xilinx_pcie_destroy_msi(unsigned int irq)
 
        if (!test_bit(irq, msi_irq_in_use)) {
                msi = irq_get_msi_desc(irq);
-               port = sys_to_pcie(msi_desc_to_pci_sys_data(msi));
+               port = sys_to_pcie(msi_desc_to_pci_sysdata(msi));
                dev_err(port->dev, "Trying to free unused MSI#%d\n", irq);
        } else {
                clear_bit(irq, msi_irq_in_use);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to