diff options
author | Jiang Liu <jiang.liu@linux.intel.com> | 2015-08-18 11:45:55 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-08-18 12:07:20 -0400 |
commit | 649953b5b89dc308747797810812747333d971cd (patch) | |
tree | 8250d4bd6dff8b3bf5f29d67f3b90da86b2a17cb | |
parent | 4c2880b31c700b03f3f115b5ca64be615783aa9c (diff) |
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.liu@linux.intel.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Mark Brown <broonie@kernel.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Sören Brinkmann <soren.brinkmann@xilinx.com>
Cc: Srikanth Thokala <sthokal@xilinx.com>
Cc: Rob Herring <robh@kernel.org>
Cc: Yijing Wang <wangyijing@huawei.com>
Link: http://lkml.kernel.org/r/1439912763-10645-1-git-send-email-jiang.liu@linux.intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | drivers/pci/host/pcie-xilinx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pcie-xilinx.c b/drivers/pci/host/pcie-xilinx.c index 64454f416639..be494e46bbd1 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) | |||
232 | 232 | ||
233 | if (!test_bit(irq, msi_irq_in_use)) { | 233 | if (!test_bit(irq, msi_irq_in_use)) { |
234 | msi = irq_get_msi_desc(irq); | 234 | msi = irq_get_msi_desc(irq); |
235 | port = sys_to_pcie(msi_desc_to_pci_sys_data(msi)); | 235 | port = sys_to_pcie(msi_desc_to_pci_sysdata(msi)); |
236 | dev_err(port->dev, "Trying to free unused MSI#%d\n", irq); | 236 | dev_err(port->dev, "Trying to free unused MSI#%d\n", irq); |
237 | } else { | 237 | } else { |
238 | clear_bit(irq, msi_irq_in_use); | 238 | clear_bit(irq, msi_irq_in_use); |